From 417dbaf6a34552f0c7d959e5a63e6672ff85c4d7 Mon Sep 17 00:00:00 2001 From: Mogria Date: Fri, 24 Feb 2017 16:36:58 +0100 Subject: [PATCH] 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) --- pkgs/tools/misc/findutils/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/misc/findutils/default.nix b/pkgs/tools/misc/findutils/default.nix index 8bedbeb12fe..8906564ade5 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" ];