From d2f337c87284e23cd6a8256859beeacc128d9dfa Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 23 Oct 2007 16:42:10 +0000 Subject: [PATCH] * Set $ASPELL_EXTRA_DICT_DIRS so that Aspell dictionaries installed with nix-env are found automatically. svn path=/nixos/trunk/; revision=9514 --- etc/profile.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/profile.sh b/etc/profile.sh index f51aa9ac655..cb915a7f7c4 100644 --- a/etc/profile.sh +++ b/etc/profile.sh @@ -48,6 +48,7 @@ NIX_PROFILES="/nix/var/nix/profiles/default $NIX_USER_PROFILE_DIR/profile" for i in $NIX_PROFILES; do # !!! reverse export PATH=$i/bin:$i/sbin:$PATH + export ASPELL_EXTRA_DICT_DIRS="$i/lib/aspell${ASPELL_EXTRA_DICT_DIRS:+,}$ASPELL_EXTRA_DICT_DIRS" done export PATH=$HOME/bin:$PATH