mvfst: convert to new Darwin SDK pattern

This commit is contained in:
Emily
2024-11-18 17:42:43 +00:00
parent ee8c1b1980
commit 5b60e96f64
2 changed files with 14 additions and 11 deletions
+13 -10
View File
@@ -7,6 +7,8 @@
folly,
gflags,
glog,
apple-sdk_11,
darwinMinVersionHook,
}:
stdenv.mkDerivation rec {
@@ -22,16 +24,17 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
cmakeFlags = lib.optionals stdenv.hostPlatform.isDarwin [
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.14" # For aligned allocation
];
buildInputs = [
fizz
folly
gflags
glog
];
buildInputs =
[
fizz
folly
gflags
glog
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
apple-sdk_11
(darwinMinVersionHook "11.0")
];
meta = with lib; {
description = "Implementation of the QUIC transport protocol";
+1 -1
View File
@@ -10530,7 +10530,7 @@ with pkgs;
mpich-pmix = mpich.override { pmixSupport = true; withPm = [ ]; };
mvfst = darwin.apple_sdk_11_0.callPackage ../development/libraries/mvfst { };
mvfst = callPackage ../development/libraries/mvfst { };
mygpoclient = with python3.pkgs; toPythonApplication mygpoclient;