mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-18 07:29:09 +00:00
ngtcp2: fix build on darwin by providing CoreServices
This commit is contained in:
parent
e6cae7e4f7
commit
ad27491b76
@ -1,6 +1,7 @@
|
||||
{ lib, stdenv, fetchFromGitHub
|
||||
, cmake
|
||||
, brotli, libev, nghttp3, quictls
|
||||
, CoreServices
|
||||
, withJemalloc ? false, jemalloc
|
||||
, curlHTTP3
|
||||
}:
|
||||
@ -20,7 +21,14 @@ stdenv.mkDerivation rec {
|
||||
outputs = [ "out" "dev" "doc" ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ brotli libev nghttp3 quictls ] ++ lib.optional withJemalloc jemalloc;
|
||||
buildInputs = [
|
||||
brotli
|
||||
libev
|
||||
nghttp3
|
||||
quictls
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
CoreServices
|
||||
] ++ lib.optional withJemalloc jemalloc;
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "ENABLE_STATIC_LIB" false)
|
||||
|
@ -23684,7 +23684,7 @@ with pkgs;
|
||||
|
||||
nghttp3 = callPackage ../development/libraries/nghttp3 { inherit (darwin.apple_sdk.frameworks) CoreServices; };
|
||||
|
||||
ngtcp2 = callPackage ../development/libraries/ngtcp2 { };
|
||||
ngtcp2 = callPackage ../development/libraries/ngtcp2 { inherit (darwin.apple_sdk.frameworks) CoreServices; };
|
||||
ngtcp2-gnutls = callPackage ../development/libraries/ngtcp2/gnutls.nix { };
|
||||
|
||||
nix-plugins = callPackage ../development/libraries/nix-plugins { };
|
||||
|
Loading…
Reference in New Issue
Block a user