Revert "liboauth: fix for new nss header layout"

This reverts commit 4bba6650a6.
This commit is contained in:
Robin Gloster 2017-10-09 20:44:04 +02:00
parent 034c168aa2
commit 6dc6cb1d18
No known key found for this signature in database
GPG Key ID: D5C458DF6DD97EDF

View File

@ -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;
};
}