darwin.iosSdkPkgs: fix broken eval

This commit is contained in:
Adam Joseph 2023-11-22 16:46:46 -08:00 committed by Jörg Thalheim
parent bffbf8bb53
commit e30975f832

View File

@ -22,8 +22,8 @@ rec {
type = "derivation";
outPath = xcode + "/Contents/Developer/Platforms/${platform}.platform/Developer/SDKs/${platform}${version}.sdk";
platform = stdenv.targetPlatform.xcodePlatform;
version = stdenv.targetPlatform.sdkVer;
platform = stdenv.targetPlatform.xcodePlatform or "";
version = stdenv.targetPlatform.sdkVer or "";
};
binutils = wrapBintoolsWith {