* Oops, the bootstrap tools contained an impure gzip/gunzip.

* To prevent this kind of thing, check that all tools are statically
  linked.
* Use findutils 4.2.27, 4.2.28 doesn't build with dietlibc.

svn path=/nixpkgs/trunk/; revision=6881
This commit is contained in:
Eelco Dolstra
2006-10-27 22:50:58 +00:00
parent de25bee83d
commit c37304db96
7 changed files with 41 additions and 26 deletions
+14
View File
@@ -0,0 +1,14 @@
{stdenv, fetchurl, coreutils}:
stdenv.mkDerivation {
name = "findutils-4.2.27";
src = fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/findutils-4.2.27.tar.gz;
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 []);
}