nghttp3: fix build on darwin by providing CoreServices
This commit is contained in:
parent
248e51a6ee
commit
e6cae7e4f7
|
@ -1,5 +1,6 @@
|
|||
{ lib, stdenv, fetchFromGitHub
|
||||
, cmake
|
||||
, CoreServices
|
||||
, curlHTTP3
|
||||
}:
|
||||
|
||||
|
@ -18,6 +19,9 @@ stdenv.mkDerivation rec {
|
|||
outputs = [ "out" "dev" "doc" ];
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
CoreServices
|
||||
];
|
||||
|
||||
cmakeFlags = [
|
||||
(lib.cmakeBool "ENABLE_STATIC_LIB" false)
|
||||
|
|
|
@ -23682,7 +23682,7 @@ with pkgs;
|
|||
nghttp2 = callPackage ../development/libraries/nghttp2 { };
|
||||
libnghttp2 = nghttp2.lib;
|
||||
|
||||
nghttp3 = callPackage ../development/libraries/nghttp3 { };
|
||||
nghttp3 = callPackage ../development/libraries/nghttp3 { inherit (darwin.apple_sdk.frameworks) CoreServices; };
|
||||
|
||||
ngtcp2 = callPackage ../development/libraries/ngtcp2 { };
|
||||
ngtcp2-gnutls = callPackage ../development/libraries/ngtcp2/gnutls.nix { };
|
||||
|
|
Loading…
Reference in New Issue