nixos: remove PKG_CONFIG_PATH and PERL5LIB environment variables

These make libraries installed in the system or even user profiles
magically available.
This commit is contained in:
Daiderd Jordan 2018-04-11 19:18:29 +02:00
parent 99ee7fd311
commit 74442da768
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -33,8 +33,6 @@ in
environment.profileRelativeEnvVars = environment.profileRelativeEnvVars =
{ PATH = [ "/bin" ]; { PATH = [ "/bin" ];
INFOPATH = [ "/info" "/share/info" ]; INFOPATH = [ "/info" "/share/info" ];
PKG_CONFIG_PATH = [ "/lib/pkgconfig" ];
PERL5LIB = [ "/lib/perl5/site_perl" ];
KDEDIRS = [ "" ]; KDEDIRS = [ "" ];
STRIGI_PLUGIN_PATH = [ "/lib/strigi/" ]; STRIGI_PLUGIN_PATH = [ "/lib/strigi/" ];
QT_PLUGIN_PATH = [ "/lib/qt4/plugins" "/lib/kde4/plugins" ]; QT_PLUGIN_PATH = [ "/lib/qt4/plugins" "/lib/kde4/plugins" ];