diff --git a/pkgs/tools/misc/findutils/default.nix b/pkgs/tools/misc/findutils/default.nix index 271ac8e7f00..afd9458f9a3 100644 --- a/pkgs/tools/misc/findutils/default.nix +++ b/pkgs/tools/misc/findutils/default.nix @@ -1,14 +1,14 @@ {stdenv, fetchurl, coreutils}: stdenv.mkDerivation { - name = "findutils-4.2.29"; + name = "findutils-4.2.30"; src = fetchurl { - url = ftp://ftp.nluug.nl/pub/gnu/findutils/findutils-4.2.29.tar.gz; - md5 = "24e76434ca74ba3c2c6ad621eb64e1ff"; + url = ftp://ftp.nluug.nl/pub/gnu/findutils/findutils-4.2.30.tar.gz; + sha256 = "1x1s0h1gf4hxh6xi6vq336sz8zsh4hvnsslc7607z41l82xrqjrl"; }; buildInputs = [coreutils]; patches = [./findutils-path.patch] # Note: the dietlibc patch is just to get findutils to compile. # The locate command probably won't work though. - ++ (if stdenv ? isDietLibC then [./dietlibc-hack.patch] else []); + ++ stdenv.lib.optional (stdenv ? isDietLibC) ./dietlibc-hack.patch; }