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:
|
mkStdenv = stdenv:
|
||||||
if stdenv.isAarch64 then stdenv
|
if stdenv.isAarch64 then stdenv
|
||||||
else
|
else
|
||||||
(overrideCC stdenv (mkCc stdenv.cc)).override {
|
let
|
||||||
extraBuildInputs = [ pkgs.darwin.apple_sdk_11_0.frameworks.CoreFoundation ];
|
|
||||||
targetPlatform = stdenv.targetPlatform // {
|
|
||||||
darwinMinVersion = "10.12";
|
darwinMinVersion = "10.12";
|
||||||
darwinSdkVersion = "11.0";
|
darwinSdkVersion = "11.0";
|
||||||
};
|
in
|
||||||
|
(overrideCC stdenv (mkCc stdenv.cc)).override {
|
||||||
|
extraBuildInputs = [ pkgs.darwin.apple_sdk_11_0.frameworks.CoreFoundation ];
|
||||||
|
buildPlatform = stdenv.buildPlatform // { inherit darwinMinVersion darwinSdkVersion; };
|
||||||
|
hostPlatform = stdenv.hostPlatform // { inherit darwinMinVersion darwinSdkVersion; };
|
||||||
|
targetPlatform = stdenv.targetPlatform // { inherit darwinMinVersion darwinSdkVersion; };
|
||||||
};
|
};
|
||||||
|
|
||||||
stdenvs = {
|
stdenvs = {
|
||||||
|
|
Loading…
Reference in a new issue