nixpkgs/pkgs/tools/misc/findutils/default.nix
Eelco Dolstra 4d3059721d * bash 2.0, findutils 4.2.28.
* Some Nix expression simplifications.  Sense and simplicity!

svn path=/nixpkgs/trunk/; revision=6836
2006-10-24 23:05:12 +00:00

15 lines
484 B
Nix

{stdenv, fetchurl, coreutils}:
stdenv.mkDerivation {
name = "findutils-4.2.28";
src = fetchurl {
url = http://ftp.gnu.org/pub/gnu/findutils/findutils-4.2.28.tar.gz;
md5 = "f5fb3349354ee3d94fceb81dab5c71fd";
};
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 []);
}