summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2017-01-05 19:54:48 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2017-01-05 19:54:48 +0100
commit6daa4cd542caa38df9f7a923132467873ca4d4c9 (patch)
tree72cea0905a08ef31309cc8cfcd0f58be1edcbc94
parentaac0331deff8beb49096128f2066697d8660dd38 (diff)
downloadnixos-6daa4cd542caa38df9f7a923132467873ca4d4c9.tar
nixos-6daa4cd542caa38df9f7a923132467873ca4d4c9.tar.gz
nixos-6daa4cd542caa38df9f7a923132467873ca4d4c9.tar.bz2
nixos-6daa4cd542caa38df9f7a923132467873ca4d4c9.tar.xz
nixos-6daa4cd542caa38df9f7a923132467873ca4d4c9.zip
Fix locate db location
-rw-r--r--hel.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/hel.nix b/hel.nix
index f1618d72..35033515 100644
--- a/hel.nix
+++ b/hel.nix
@@ -284,7 +284,9 @@
284 locate = { 284 locate = {
285 enable = true; 285 enable = true;
286 interval = "daily"; 286 interval = "daily";
287 locate = pkgs.mlocate; 287 locate = pkgs.stdenv.lib.overrideDerivation pkgs.mlocate (oldAttrs: rec {
288 makeFlags = [ "dbfile=${config.locate.output}" ];
289 });
288 localuser = null; 290 localuser = null;
289 prunePaths = ["/tmp" "/var/tmp" "/var/cache" "/var/lock" "/var/run" "/var/spool"]; 291 prunePaths = ["/tmp" "/var/tmp" "/var/cache" "/var/lock" "/var/run" "/var/spool"];
290 }; 292 };