From edaf46fb64e158d4db546e41700485631df70647 Mon Sep 17 00:00:00 2001 From: Dan Peebles Date: Sat, 16 Jan 2016 14:53:56 -0500 Subject: [PATCH] stdenv-darwin: add parent attribute to bootstrap This makes it far easier than before to hit/test early stages of the stdenv bootstrap. --- pkgs/stdenv/darwin/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix index f2a482e3db2..c0c19a64c3c 100644 --- a/pkgs/stdenv/darwin/default.nix +++ b/pkgs/stdenv/darwin/default.nix @@ -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; [