darwin.apple_sdk_11_0.stdenv: set darwinSdkVersion on all platforms
This commit is contained in:
parent
9bf128cad3
commit
c7c64a8c72
1 changed files with 7 additions and 4 deletions
|
@ -61,12 +61,15 @@ let
|
|||
mkStdenv = stdenv:
|
||||
if stdenv.isAarch64 then stdenv
|
||||
else
|
||||
let
|
||||
darwinMinVersion = "10.12";
|
||||
darwinSdkVersion = "11.0";
|
||||
in
|
||||
(overrideCC stdenv (mkCc stdenv.cc)).override {
|
||||
extraBuildInputs = [ pkgs.darwin.apple_sdk_11_0.frameworks.CoreFoundation ];
|
||||
targetPlatform = stdenv.targetPlatform // {
|
||||
darwinMinVersion = "10.12";
|
||||
darwinSdkVersion = "11.0";
|
||||
};
|
||||
buildPlatform = stdenv.buildPlatform // { inherit darwinMinVersion darwinSdkVersion; };
|
||||
hostPlatform = stdenv.hostPlatform // { inherit darwinMinVersion darwinSdkVersion; };
|
||||
targetPlatform = stdenv.targetPlatform // { inherit darwinMinVersion darwinSdkVersion; };
|
||||
};
|
||||
|
||||
stdenvs = {
|
||||
|
|
Loading…
Reference in a new issue