From 33f34e2092434556c284e128403c99d79786a1dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 14 Feb 2008 09:41:34 +0000 Subject: [PATCH] Don't define `ASPELL_EXTRA_DICT_DIRS', use `ASPELL_CONF' instead. svn path=/nixos/trunk/; revision=10673 --- etc/profile.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/profile.sh b/etc/profile.sh index 3b448940187..2e533a7457f 100644 --- a/etc/profile.sh +++ b/etc/profile.sh @@ -55,9 +55,11 @@ 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 INFOPATH=$i/info:$i/share/info:$INFOPATH - export ASPELL_EXTRA_DICT_DIRS="$i/lib/aspell${ASPELL_EXTRA_DICT_DIRS:+,}$ASPELL_EXTRA_DICT_DIRS" done +# Search directory for Aspell dictionaries. +export ASPELL_CONF="dict-dir $NIX_USER_PROFILE_DIR/profile/lib/aspell" + export PATH=$HOME/bin:$PATH