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