mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
nghttp2 cleanup: unneeded patching, unused inputs
Suggested on https://github.com/NixOS/nixpkgs/pull/21029#issuecomment-266290756
This commit is contained in:
parent
c3d20b2e43
commit
105fead2aa
@ -1,8 +1,8 @@
|
||||
{ stdenv, fetchurl, pkgconfig
|
||||
|
||||
# Optional Dependencies
|
||||
, openssl ? null, libev ? null, zlib ? null, jansson ? null, boost ? null
|
||||
, libxml2 ? null, jemalloc ? null
|
||||
, openssl ? null, libev ? null, zlib ? null
|
||||
#, jansson ? null, boost ? null, libxml2 ? null, jemalloc ? null
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -15,12 +15,6 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "7685b6717d205d3a251b7dd5e73a7ca5e643bc5c01f928b82bfeed30c243f28a";
|
||||
};
|
||||
|
||||
# Configure script searches for a symbol which does not exist in jemalloc on Darwin
|
||||
# Reported upstream in https://github.com/tatsuhiro-t/nghttp2/issues/233
|
||||
postPatch = if stdenv.isDarwin && jemalloc != null then ''
|
||||
substituteInPlace configure --replace "malloc_stats_print" "je_malloc_stats_print"
|
||||
'' else null;
|
||||
|
||||
outputs = [ "out" "dev" "lib" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
Loading…
Reference in New Issue
Block a user