From 6dc6cb1d1883d32949743c1ff4908d6d1f6fe254 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Mon, 9 Oct 2017 20:44:04 +0200 Subject: [PATCH] Revert "liboauth: fix for new nss header layout" This reverts commit 4bba6650a6a5a2009e25bdeed8c1e871601a9bfb. --- pkgs/development/libraries/liboauth/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/liboauth/default.nix b/pkgs/development/libraries/liboauth/default.nix index ddea4eb61f7a..855d921206e9 100644 --- a/pkgs/development/libraries/liboauth/default.nix +++ b/pkgs/development/libraries/liboauth/default.nix @@ -10,12 +10,11 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkgconfig ]; + propagatedBuildInputs = [ nss nspr ]; configureFlags = [ "--enable-nss" ]; - NIX_CFLAGS_COMPILE = [ "-I${nss.dev}/include/nss" ]; - postInstall = '' substituteInPlace $out/lib/liboauth.la \ --replace "-lnss3" "-L${nss.out}/lib -lnss3" @@ -27,4 +26,5 @@ stdenv.mkDerivation rec { homepage = http://liboauth.sourceforge.net/; repositories.git = https://github.com/x42/liboauth.git; }; + }