2006-10-27 23:50:58 +01:00
|
|
|
{stdenv, fetchurl, coreutils}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "findutils-4.2.27";
|
|
|
|
src = fetchurl {
|
2008-11-14 16:57:19 +00:00
|
|
|
url = http://nixos.org/tarballs/findutils-4.2.27.tar.gz;
|
2006-10-27 23:50:58 +01:00
|
|
|
md5 = "f1e0ddf09f28f8102ff3b90f3b5bc920";
|
|
|
|
};
|
|
|
|
buildInputs = [coreutils];
|
|
|
|
patches = [./findutils-path.patch]
|
|
|
|
# Note: the dietlibc is just to get findutils to compile. The
|
|
|
|
# locate command probably won't work though.
|
|
|
|
++ (if stdenv ? isDietLibC then [./dietlibc-hack.patch] else []);
|
|
|
|
}
|