nixpkgs/pkgs/tools/misc/findutils/default.nix
Armijn Hemel c5e992c7bf update to 4.2.29
svn path=/nixpkgs/trunk/; revision=7482
2006-12-25 21:09:18 +00:00

15 lines
484 B
Nix

{stdenv, fetchurl, coreutils}:
stdenv.mkDerivation {
name = "findutils-4.2.29";
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/gnu/findutils/findutils-4.2.29.tar.gz;
md5 = "24e76434ca74ba3c2c6ad621eb64e1ff";
};
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 []);
}