summary refs log tree commit diff
path: root/modules/programs
diff options
context:
space:
mode:
authorEvgeny Egorochkin <phreedom.stdin@gmail.com>2010-10-25 01:46:30 +0000
committerEvgeny Egorochkin <phreedom.stdin@gmail.com>2010-10-25 01:46:30 +0000
commit006f7291e40eb28d881a248a2c0ef984197295d3 (patch)
tree03956e8850a9d3f70e80b21278a95593b847765a /modules/programs
parent791c758b413ce7c2ceb188432166e4cf02a05d6f (diff)
downloadnixpkgs-006f7291e40eb28d881a248a2c0ef984197295d3.tar
nixpkgs-006f7291e40eb28d881a248a2c0ef984197295d3.tar.gz
nixpkgs-006f7291e40eb28d881a248a2c0ef984197295d3.tar.bz2
nixpkgs-006f7291e40eb28d881a248a2c0ef984197295d3.tar.lz
nixpkgs-006f7291e40eb28d881a248a2c0ef984197295d3.tar.xz
nixpkgs-006f7291e40eb28d881a248a2c0ef984197295d3.tar.zst
nixpkgs-006f7291e40eb28d881a248a2c0ef984197295d3.zip
Make Strigi indexing work in Nepomuk
svn path=/nixos/trunk/; revision=24460
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/bash/bashrc.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/programs/bash/bashrc.sh b/modules/programs/bash/bashrc.sh
index 8d1e4833a2d..37b87887e4f 100644
--- a/modules/programs/bash/bashrc.sh
+++ b/modules/programs/bash/bashrc.sh
@@ -17,8 +17,8 @@ NIX_USER_PROFILE_DIR=/nix/var/nix/profiles/per-user/$USER
 
 NIX_PROFILES="/var/run/current-system/sw /nix/var/nix/profiles/default $HOME/.nix-profile"
 
-unset PATH INFOPATH PKG_CONFIG_PATH PERL5LIB GST_PLUGIN_PATH KDEDIRS
-unset XDG_CONFIG_DIRS XDG_DATA_DIRS
+unset PATH INFOPATH PKG_CONFIG_PATH PERL5LIB ALSA_PLUGIN_DIRS GST_PLUGIN_PATH KDEDIRS
+unset QT_PLUGIN_PATH STRIGI_PLUGIN_PATH XDG_CONFIG_DIRS XDG_DATA_DIRS
 
 for i in $NIX_PROFILES; do # !!! reverse
     # We have to care not leaving an empty PATH element, because that means '.' to Linux
@@ -38,6 +38,7 @@ for i in $NIX_PROFILES; do # !!! reverse
 
     # KDE/Gnome stuff.
     export KDEDIRS=$i${KDEDIRS:+:}$KDEDIRS
+    export STRIGI_PLUGIN_PATH=$i/lib/strigi/${STRIGI_PLUGIN_PATH:+:}$STRIGI_PLUGIN_PATH
     export QT_PLUGIN_PATH=$i/lib/qt4/plugins:$i/lib/kde4/plugins${QT_PLUGIN_PATH:+:}$QT_PLUGIN_PATH
     export XDG_CONFIG_DIRS=$i/etc/xdg${XDG_CONFIG_DIRS:+:}$XDG_CONFIG_DIRS
     export XDG_DATA_DIRS=$i/share${XDG_DATA_DIRS:+:}$XDG_DATA_DIRS