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

This commit is contained in:
Taeer Bar-Yam
2021-04-21 11:56:55 -04:00
parent bb9d0c3038
commit 0a8784d5db
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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;