build-fhs-chrootenv: set PKG_CONFIG_PATH

Currently `PKG_CONFIG_PATH` isn't set in FHS chroots rendering `pkg-config`
unusable. This patch sets it to `/usr/lib/pkgconfig`.
This commit is contained in:
Christoph Hrdinka 2016-04-13 11:06:33 +02:00
parent ab58c22d6a
commit 54fa4c4cec

View file

@ -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'