4d3059721d
* Some Nix expression simplifications. Sense and simplicity! svn path=/nixpkgs/trunk/; revision=6836
15 lines
484 B
Nix
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 []);
|
|
}
|