darwin packages: Get ready for cross

If things build fine with `stdenvNoCC`, let them use that. If tools
might be prefixed, prepare for that, either by directly splicing or just
using the env vars provided by the wrapper setup-hooks.

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
This commit is contained in:
John Ericson
2021-05-11 16:07:01 -04:00
co-authored by Dmitry Kalinkin
parent 912c8262b4
commit 7bba32a069
32 changed files with 213 additions and 186 deletions
+1 -1
View File
@@ -201,7 +201,7 @@ in rec {
'';
};
darwin-stubs = superDarwin.darwin-stubs.override { inherit (self) stdenv fetchurl; };
darwin-stubs = superDarwin.darwin-stubs.override { inherit (self) stdenvNoCC fetchurl; };
dyld = {
name = "bootstrap-stage0-dyld";