* Finally we have a working stdenvLinux again.

On the downside, the build process of stdenvLinux builds gcc 9 times
  (3 x 3 bootstrap stages).  That's a bit excessive.

svn path=/nixpkgs/trunk/; revision=880
This commit is contained in:
Eelco Dolstra
2004-03-30 12:46:52 +00:00
parent 68327c3a9d
commit 01a1658c6b
19 changed files with 76 additions and 75 deletions

View File

@@ -7,21 +7,25 @@
let {
shell = "/bin/sh";
body =
derivation {
inherit system name;
builder = "/bin/sh";
builder = shell;
args = ["-e" ./builder.sh];
}
// {
mkDerivation = attrs: derivation (attrs // {
builder = "/bin/sh";
builder = shell;
args = ["-e" attrs.builder];
stdenv = body;
system = body.system;
});
inherit shell;
};
}