From 0f99f50e3456ce225dea83ce414d340cfd5d0cb9 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 28 Apr 2009 13:43:48 +0000 Subject: [PATCH] * Use lib/perl5/site_perl. svn path=/nixos/trunk/; revision=15370 --- etc/bashrc.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/etc/bashrc.sh b/etc/bashrc.sh index ba8a0ebb9c6..38f839f4476 100644 --- a/etc/bashrc.sh +++ b/etc/bashrc.sh @@ -49,8 +49,10 @@ for i in $NIX_PROFILES; do # !!! reverse if [ -d "$i/share/aclocal" ]; then export ACLOCAL_PATH="$i/share/aclocal:$ACLOCAL_PATH" fi - - export PERL5LIB="$i/lib/site_perl:$PERL5LIB" + + # "lib/site_perl" is for backwards compatibility with packages + # from Nixpkgs <= 0.12. + export PERL5LIB="$i/lib/perl5/site_perl:$i/lib/site_perl:$PERL5LIB" # GStreamer. export GST_PLUGIN_PATH="$i/lib/gstreamer-0.10:$GST_PLUGIN_PATH"