Commit e6cae7e4 authored by Robert Scott's avatar Robert Scott Committed by Bjørn Forsman
Browse files

nghttp3: fix build on darwin by providing CoreServices

parent 248e51a6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
{ 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)
+1 −1
Original line number Diff line number Diff line
@@ -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 { };