stdenv: unset SDKROOT on Darwin
The Rust `cc` crate started running `xcrun` when SDKROOT is defined:
a970b0ab0b
Consequently, building crates that use newer versions of the `cc`
crate fail, because xcrun is not available in pure build environments.
This commit is contained in:
parent
0d83d01dfe
commit
b1700a7336
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ in rec {
|
|||
export NIX_ENFORCE_NO_NATIVE=''${NIX_ENFORCE_NO_NATIVE-1}
|
||||
export NIX_ENFORCE_PURITY=''${NIX_ENFORCE_PURITY-1}
|
||||
export NIX_IGNORE_LD_THROUGH_GCC=1
|
||||
export SDKROOT=
|
||||
unset SDKROOT
|
||||
|
||||
export MACOSX_DEPLOYMENT_TARGET=${macosVersionMin}
|
||||
|
||||
|
|
Loading…
Reference in a new issue