stdenv/{native,nix}: add lib to cc-wrapper args

wip/yesman
Taeer Bar-Yam 3 years ago
parent bb9d0c3038
commit 0a8784d5db
  1. 2
      pkgs/stdenv/native/default.nix
  2. 1
      pkgs/stdenv/nix/default.nix

@ -129,7 +129,7 @@ in
name = "cc-native";
nativeTools = true;
nativeLibc = true;
inherit nativePrefix;
inherit lib nativePrefix;
bintools = import ../../build-support/bintools-wrapper {
name = "bintools";
inherit stdenvNoCC nativePrefix;

@ -24,6 +24,7 @@ bootStages ++ [
initialPath = (import ../common-path.nix) { pkgs = prevStage; };
cc = import ../../build-support/cc-wrapper {
inherit lib;
nativeTools = false;
nativePrefix = lib.optionalString hostPlatform.isSunOS "/usr";
nativeLibc = true;

Loading…
Cancel
Save