about summary refs log tree commit diff
path: root/pkgs/build-support
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2016-04-13 14:24:09 +0400
committerNikolay Amiantov <ab@fmap.me>2016-04-13 14:24:09 +0400
commit5c38c36472aad59da81ad92c3369c69539f83508 (patch)
treee3d2d7bf4ec72aae50e2b34ba5b7683b2d382e0b /pkgs/build-support
parentc7b5cfc7d25eaf058e275f99cc9cb7bc66031dce (diff)
parent54fa4c4cec6f2391bda3c715bc2f7c4bbe4cb67a (diff)
Merge pull request #14650 from hrdinka/fhs-chroot/pkg-path
build-fhs-chrootenv: set PKG_CONFIG_PATH
Diffstat (limited to 'pkgs/build-support')
-rw-r--r--pkgs/build-support/build-fhs-chrootenv/env.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/build-fhs-chrootenv/env.nix b/pkgs/build-support/build-fhs-chrootenv/env.nix
index 8c45c9c9036bb..3a9d389c2c3a7 100644
--- a/pkgs/build-support/build-fhs-chrootenv/env.nix
+++ b/pkgs/build-support/build-fhs-chrootenv/env.nix
@@ -57,6 +57,7 @@ let
     export LOCALE_ARCHIVE='/usr/lib/locale/locale-archive'
     export LD_LIBRARY_PATH='/run/opengl-driver/lib:/run/opengl-driver-32/lib:/usr/lib:/usr/lib32'
     export PATH='/var/setuid-wrappers:/usr/bin:/usr/sbin'
+    export PKG_CONFIG_PATH=/usr/lib/pkgconfig
 
     # Force compilers to look in default search paths
     export NIX_CFLAGS_COMPILE='-idirafter /usr/include'