Skip to content

Commit

Permalink
liboauth: fix for new nss header layout
Browse files Browse the repository at this point in the history
  • Loading branch information
globin committed Oct 9, 2017
1 parent 9304ae0 commit 4bba665
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/development/libraries/liboauth/default.nix
Expand Up @@ -10,11 +10,12 @@ 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"
Expand All @@ -26,5 +27,4 @@ stdenv.mkDerivation rec {
homepage = http://liboauth.sourceforge.net/;
repositories.git = https://github.com/x42/liboauth.git;
};

}

0 comments on commit 4bba665

Please sign in to comment.