* 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:
@@ -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;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user