darwin-stdenv: Don't use nativeTools
Now, we'll actually use the wrapped ld to link
This commit is contained in:
parent
095af3e63b
commit
3b6e7fe123
@ -79,15 +79,17 @@ in rec {
|
|||||||
inherit shell;
|
inherit shell;
|
||||||
inherit (last) stdenv;
|
inherit (last) stdenv;
|
||||||
|
|
||||||
nativeTools = true;
|
nativeTools = false;
|
||||||
nativePrefix = bootstrapTools;
|
|
||||||
nativeLibc = false;
|
nativeLibc = false;
|
||||||
buildPackages = lib.optionalAttrs (last ? stdenv) {
|
buildPackages = lib.optionalAttrs (last ? stdenv) {
|
||||||
inherit (last) stdenv;
|
inherit (last) stdenv;
|
||||||
};
|
};
|
||||||
libc = last.pkgs.darwin.Libsystem;
|
libc = last.pkgs.darwin.Libsystem;
|
||||||
isClang = true;
|
isClang = true;
|
||||||
cc = { name = "clang-9.9.9"; outPath = bootstrapTools; };
|
cc = { name = "clang-9.9.9"; outPath = bootstrapTools; };
|
||||||
|
binutils = { name = "binutils-9.9.9"; outPath = bootstrapTools; };
|
||||||
|
coreutils = { name = "coreutils-9.9.9"; outPath = bootstrapTools; };
|
||||||
|
gnugrep = { name = "gnugrep-9.9.9"; outPath = bootstrapTools; };
|
||||||
};
|
};
|
||||||
|
|
||||||
preHook = stage0.stdenv.lib.optionalString (shell == "${bootstrapTools}/bin/bash") ''
|
preHook = stage0.stdenv.lib.optionalString (shell == "${bootstrapTools}/bin/bash") ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user