mvfst: convert to new Darwin SDK pattern
(cherry picked from commit 5b60e96f64)
(cherry picked from commit 193326735b10ac43fdd60a4154429c77921f6c1d)
This commit is contained in:
@@ -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";
|
||||
|
||||
@@ -10349,7 +10349,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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user