mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 12:53:54 +00:00
mvfst: convert to new Darwin SDK pattern
(cherry picked from commit5b60e96f64
) (cherry picked from commit193326735b
)
This commit is contained in:
parent
0e41aed8ab
commit
550a372c86
pkgs
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user