mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-01 01:33:20 +00:00
* Set $ASPELL_EXTRA_DICT_DIRS so that Aspell dictionaries
installed with nix-env are found automatically. svn path=/nixos/trunk/; revision=9514
This commit is contained in:
parent
662b487e77
commit
d2f337c872
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user