diff options
author | Mogria <m0gr14@gmail.com> | 2017-02-24 16:36:58 +0100 |
---|---|---|
committer | Mogria <m0gr14@gmail.com> | 2017-02-24 16:36:58 +0100 |
commit | 417dbaf6a34552f0c7d959e5a63e6672ff85c4d7 (patch) | |
tree | 40beebce186dd238193beec95bf2a2960586a746 /pkgs/tools/misc/findutils | |
parent | 4810677227a76a849bb848eee4cc49c980a467bf (diff) |
findutils: updatedb now uses writable database outside of /nix/store by default
updatedb could only be run by providing the --output parameter, because it would use a path inside the nix store as it's database. The default for --output is now /var/cache/locatedb (the same as in the NixOS locate service)
Diffstat (limited to 'pkgs/tools/misc/findutils')
-rw-r--r-- | pkgs/tools/misc/findutils/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/misc/findutils/default.nix b/pkgs/tools/misc/findutils/default.nix index 8bedbeb12fef9..8906564ade5b9 100644 --- a/pkgs/tools/misc/findutils/default.nix +++ b/pkgs/tools/misc/findutils/default.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { outputs = [ "out" "info" ]; + configureFlags = [ "--localstatedir=/var/cache" ]; + crossAttrs = { # http://osdir.com/ml/bug-findutils-gnu/2009-08/msg00026.html configureFlags = [ "gl_cv_func_wcwidth_works=yes" ]; |