stdenv-darwin: add parent attribute to bootstrap

This makes it far easier than before to hit/test early stages of the
stdenv bootstrap.
This commit is contained in:
Dan Peebles 2016-01-16 14:53:56 -05:00
parent de9634bba3
commit edaf46fb64

View file

@ -95,7 +95,7 @@ in rec {
stdenvSandboxProfile = binShClosure + libSystemProfile;
extraSandboxProfile = binShClosure + libSystemProfile;
extraAttrs = { inherit platform; };
extraAttrs = { inherit platform; parent = last; };
overrides = pkgs: (overrides pkgs) // { fetchurl = thisStdenv.fetchurlBoot; };
};
@ -290,6 +290,7 @@ in rec {
inherit platform bootstrapTools;
libc = pkgs.darwin.Libsystem;
shellPackage = pkgs.bash;
parent = stage4;
};
allowedRequisites = (with pkgs; [