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)
This commit is contained in:
Mogria 2017-02-24 16:36:58 +01:00
parent 4810677227
commit 417dbaf6a3

View file

@ -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" ];