From b7a0a3e6775770cae3e49e75838ebdca3a47cd6e Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 5 Jan 2017 20:17:35 +0100 Subject: Revert "Fix locate db location" This reverts commit 6daa4cd542caa38df9f7a923132467873ca4d4c9. --- hel.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hel.nix b/hel.nix index 35033515..f1618d72 100644 --- a/hel.nix +++ b/hel.nix @@ -284,9 +284,7 @@ locate = { enable = true; interval = "daily"; - locate = pkgs.stdenv.lib.overrideDerivation pkgs.mlocate (oldAttrs: rec { - makeFlags = [ "dbfile=${config.locate.output}" ]; - }); + locate = pkgs.mlocate; localuser = null; prunePaths = ["/tmp" "/var/tmp" "/var/cache" "/var/lock" "/var/run" "/var/spool"]; }; -- cgit v1.2.3