vcpkg-tool: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni 2024-11-10 14:53:42 -08:00
parent c57fe374c3
commit 2c6889b18a
No known key found for this signature in database
GPG Key ID: 48B67583BDDD4474
2 changed files with 2 additions and 2 deletions

View File

@ -2,6 +2,7 @@
, stdenv
, fetchFromGitHub
, runtimeShell
, apple-sdk_11
, cacert
, cmake
, cmakerc
@ -40,7 +41,7 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [
cmakerc
fmt
];
] ++ lib.optionals stdenv.hostPlatform.isDarwin [ apple-sdk_11 ];
patches = [
./change-lock-location.patch

View File

@ -366,7 +366,6 @@ with pkgs;
};
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;
};