liboauth: fix for new nss header layout
This commit is contained in:
parent
9304ae04d7
commit
4bba6650a6
|
@ -10,11 +10,12 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ nss nspr ];
|
propagatedBuildInputs = [ nss nspr ];
|
||||||
|
|
||||||
configureFlags = [ "--enable-nss" ];
|
configureFlags = [ "--enable-nss" ];
|
||||||
|
|
||||||
|
NIX_CFLAGS_COMPILE = [ "-I${nss.dev}/include/nss" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
substituteInPlace $out/lib/liboauth.la \
|
substituteInPlace $out/lib/liboauth.la \
|
||||||
--replace "-lnss3" "-L${nss.out}/lib -lnss3"
|
--replace "-lnss3" "-L${nss.out}/lib -lnss3"
|
||||||
|
@ -26,5 +27,4 @@ stdenv.mkDerivation rec {
|
||||||
homepage = http://liboauth.sourceforge.net/;
|
homepage = http://liboauth.sourceforge.net/;
|
||||||
repositories.git = https://github.com/x42/liboauth.git;
|
repositories.git = https://github.com/x42/liboauth.git;
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue