summary refs log tree commit diff
path: root/pkgs/development/libraries/nghttp2/default.nix
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2016-12-11 17:50:28 +0100
committerVladimír Čunát <vcunat@gmail.com>2016-12-11 17:51:47 +0100
commit105fead2aab8e4bfcd84dbf456667751f83f07d4 (patch)
tree63b04c0d03556771614b683dcba131c64e711ae9 /pkgs/development/libraries/nghttp2/default.nix
parentc3d20b2e43467fa669b51ca596d538fb0a613936 (diff)
downloadnixpkgs-105fead2aab8e4bfcd84dbf456667751f83f07d4.tar
nixpkgs-105fead2aab8e4bfcd84dbf456667751f83f07d4.tar.gz
nixpkgs-105fead2aab8e4bfcd84dbf456667751f83f07d4.tar.bz2
nixpkgs-105fead2aab8e4bfcd84dbf456667751f83f07d4.tar.lz
nixpkgs-105fead2aab8e4bfcd84dbf456667751f83f07d4.tar.xz
nixpkgs-105fead2aab8e4bfcd84dbf456667751f83f07d4.tar.zst
nixpkgs-105fead2aab8e4bfcd84dbf456667751f83f07d4.zip
nghttp2 cleanup: unneeded patching, unused inputs
Suggested on
https://github.com/NixOS/nixpkgs/pull/21029#issuecomment-266290756
Diffstat (limited to 'pkgs/development/libraries/nghttp2/default.nix')
-rw-r--r--pkgs/development/libraries/nghttp2/default.nix10
1 files changed, 2 insertions, 8 deletions
diff --git a/pkgs/development/libraries/nghttp2/default.nix b/pkgs/development/libraries/nghttp2/default.nix
index a035cccda7f..f7a026c52d4 100644
--- a/pkgs/development/libraries/nghttp2/default.nix
+++ b/pkgs/development/libraries/nghttp2/default.nix
@@ -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 ];