findutils: plug a memory leak (close #22857)

Using the upstream patch directly.  It's copied in nixpkgs, because:
 - fetchpatch isn't usable at this point in bootstrapping,
 - the upstream patch creates collisions in NEWS.
This commit is contained in:
Vladimír Čunát
2017-02-16 19:16:51 +01:00
parent e962a3c95f
commit 524de86db0
2 changed files with 24 additions and 1 deletions
+3 -1
View File
@@ -8,7 +8,9 @@ stdenv.mkDerivation rec {
sha256 = "178nn4dl7wbcw499czikirnkniwnx36argdnqgz4ik9i6zvwkm6y";
};
nativeBuildInputs = [ coreutils ];
patches = [ ./memory-leak.patch ];
buildInputs = [ coreutils ]; # bin/updatedb script needs to call sort
doCheck = !stdenv.isDarwin;