vcpkg-tool: use new Darwin SDK pattern
This commit is contained in:
parent
c57fe374c3
commit
2c6889b18a
@ -2,6 +2,7 @@
|
|||||||
, stdenv
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, runtimeShell
|
, runtimeShell
|
||||||
|
, apple-sdk_11
|
||||||
, cacert
|
, cacert
|
||||||
, cmake
|
, cmake
|
||||||
, cmakerc
|
, cmakerc
|
||||||
@ -40,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
buildInputs = [
|
buildInputs = [
|
||||||
cmakerc
|
cmakerc
|
||||||
fmt
|
fmt
|
||||||
];
|
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
./change-lock-location.patch
|
./change-lock-location.patch
|
||||||
|
@ -366,7 +366,6 @@ with pkgs;
|
|||||||
};
|
};
|
||||||
|
|
||||||
vcpkg-tool = callPackage ../by-name/vc/vcpkg-tool/package.nix {
|
vcpkg-tool = callPackage ../by-name/vc/vcpkg-tool/package.nix {
|
||||||
stdenv = if stdenv.hostPlatform.isDarwin then overrideSDK stdenv "11.0" else stdenv;
|
|
||||||
fmt = fmt_10;
|
fmt = fmt_10;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user