From b31ab67a819ba4ba8298057c2eda40a4f9df1094 Mon Sep 17 00:00:00 2001 From: Rahul Gopinath Date: Mon, 4 Jul 2016 16:44:27 -0700 Subject: [PATCH] gnunet: ensure that zlib is actually linked Fixes #14969 --- pkgs/applications/networking/p2p/gnunet/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/p2p/gnunet/default.nix b/pkgs/applications/networking/p2p/gnunet/default.nix index 54e042f17b9a..c1fd4a4c2132 100644 --- a/pkgs/applications/networking/p2p/gnunet/default.nix +++ b/pkgs/applications/networking/p2p/gnunet/default.nix @@ -39,6 +39,10 @@ stdenv.mkDerivation rec { # Ensure NSS installation works fine configureFlags="$configureFlags --with-nssdir=$out/lib" patchShebangs src/gns/nss/install-nss-plugin.sh + + sed -ie 's|@LDFLAGS@|@LDFLAGS@ $(Z_LIBS)|g' \ + src/regex/Makefile.in \ + src/fs/Makefile.in ''; doCheck = false; @@ -75,7 +79,7 @@ stdenv.mkDerivation rec { license = stdenv.lib.licenses.gpl2Plus; - maintainers = with stdenv.lib.maintainers; [ viric ]; + maintainers = with stdenv.lib.maintainers; [ viric vrthra ]; platforms = stdenv.lib.platforms.gnu; }; }