Merge pull request #190025 from SuperSandro2000/ngtcp2-aarch64

This commit is contained in:
Sandro 2022-09-11 22:24:24 +02:00 committed by GitHub
commit 646edf4854
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub
, autoreconfHook, pkg-config, file
, cmake
, libev, nghttp3, quictls
, cunit, ncurses
, withJemalloc ? false, jemalloc
@ -18,13 +18,13 @@ stdenv.mkDerivation rec {
outputs = [ "out" "dev" "doc" ];
nativeBuildInputs = [ autoreconfHook pkg-config file ];
nativeBuildInputs = [ cmake ];
buildInputs = [ libev nghttp3 quictls ] ++ lib.optional withJemalloc jemalloc;
checkInputs = [ cunit ncurses ];
preConfigure = ''
substituteInPlace ./configure --replace /usr/bin/file ${file}/bin/file
'';
cmakeFlags = [
"-DENABLE_STATIC_LIB=OFF"
];
doCheck = true;
enableParallelBuilding = true;