ngtcp2: make jemalloc optional and disable by default
This commit is contained in:
parent
0f3cd7f888
commit
db694ca48b
|
@ -1,7 +1,8 @@
|
|||
{ lib, stdenv, fetchFromGitHub
|
||||
, autoreconfHook, pkg-config
|
||||
, cunit, file, ncurses
|
||||
, jemalloc, libev, nghttp3, quictls
|
||||
, libev, nghttp3, quictls
|
||||
, withJemalloc ? false, jemalloc
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -16,7 +17,7 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkg-config file ];
|
||||
buildInputs = [ jemalloc libev nghttp3 quictls ];
|
||||
buildInputs = [ libev nghttp3 quictls ] ++ lib.optional withJemalloc jemalloc;
|
||||
checkInputs = [ cunit ncurses ];
|
||||
|
||||
preConfigure = ''
|
||||
|
|
Loading…
Reference in a new issue