stdenv/{native,nix}: add lib to cc-wrapper args
This commit is contained in:
parent
bb9d0c3038
commit
0a8784d5db
@ -129,7 +129,7 @@ in
|
|||||||
name = "cc-native";
|
name = "cc-native";
|
||||||
nativeTools = true;
|
nativeTools = true;
|
||||||
nativeLibc = true;
|
nativeLibc = true;
|
||||||
inherit nativePrefix;
|
inherit lib nativePrefix;
|
||||||
bintools = import ../../build-support/bintools-wrapper {
|
bintools = import ../../build-support/bintools-wrapper {
|
||||||
name = "bintools";
|
name = "bintools";
|
||||||
inherit stdenvNoCC nativePrefix;
|
inherit stdenvNoCC nativePrefix;
|
||||||
|
@ -24,6 +24,7 @@ bootStages ++ [
|
|||||||
initialPath = (import ../common-path.nix) { pkgs = prevStage; };
|
initialPath = (import ../common-path.nix) { pkgs = prevStage; };
|
||||||
|
|
||||||
cc = import ../../build-support/cc-wrapper {
|
cc = import ../../build-support/cc-wrapper {
|
||||||
|
inherit lib;
|
||||||
nativeTools = false;
|
nativeTools = false;
|
||||||
nativePrefix = lib.optionalString hostPlatform.isSunOS "/usr";
|
nativePrefix = lib.optionalString hostPlatform.isSunOS "/usr";
|
||||||
nativeLibc = true;
|
nativeLibc = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user