From 034c168aa29fa95c323125d970d4018d25ac7eee Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Mon, 9 Oct 2017 20:49:11 +0200 Subject: [PATCH] nss: fix includedir for pkgconfig --- pkgs/development/libraries/nss/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/nss/default.nix b/pkgs/development/libraries/nss/default.nix index c88cfb8826ec..5f0918d6451e 100644 --- a/pkgs/development/libraries/nss/default.nix +++ b/pkgs/development/libraries/nss/default.nix @@ -68,7 +68,7 @@ in stdenv.mkDerivation rec { sed -e "s,%prefix%,$PREFIX," \ -e "s,%exec_prefix%,$PREFIX," \ -e "s,%libdir%,$PREFIX/lib64," \ - -e "s,%includedir%,$PREFIX/include/nss," \ + -e "s,%includedir%,$dev/include/nss," \ -e "s,%NSS_VERSION%,$NSS_MAJOR_VERSION.$NSS_MINOR_VERSION.$NSS_PATCH_VERSION,g" \ -e "s,%NSPR_VERSION%,4.16,g" \ pkg/pkg-config/nss.pc.in > $out/lib/pkgconfig/nss.pc