Merge pull request #120080 from Radvendii/cc-wrapper-lib
stdenv/{native,nix}: add lib to cc-wrapper args
commitfce51c84574b3a17f0cc53792189aeff4abc5663
authorJohn Ericson <git@JohnEricson.me>
dateThu 22 Apr 2021, 01:05 (6 years ago)
parent43c27a40a8784d
pkgs/stdenv/native/default.nix+1−1
@@ -129,7 +129,7 @@ in
129129 name = "cc-native";
130130 nativeTools = true;
131131 nativeLibc = true;
132− inherit nativePrefix;
132+ inherit lib nativePrefix;
133133 bintools = import ../../build-support/bintools-wrapper {
134134 name = "bintools";
135135 inherit stdenvNoCC nativePrefix;
pkgs/stdenv/nix/default.nix+1
@@ -24,6 +24,7 @@ bootStages ++ [
2424 initialPath = (import ../common-path.nix) { pkgs = prevStage; };
2525
2626 cc = import ../../build-support/cc-wrapper {
27+ inherit lib;
2728 nativeTools = false;
2829 nativePrefix = lib.optionalString hostPlatform.isSunOS "/usr";
2930 nativeLibc = true;