diff options
| author | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2017-01-05 19:54:48 +0100 |
|---|---|---|
| committer | Gregor Kleen <pngwjpgh@users.noreply.github.com> | 2017-01-05 19:54:48 +0100 |
| commit | 6daa4cd542caa38df9f7a923132467873ca4d4c9 (patch) | |
| tree | 72cea0905a08ef31309cc8cfcd0f58be1edcbc94 | |
| parent | aac0331deff8beb49096128f2066697d8660dd38 (diff) | |
| download | nixos-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.nix | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -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 | }; |
