aspell: only set ASPELL_CONF from NIX_PROFILES in wrapper if unset
commit399065f226ca70360f25682d76be3c5e89e60239
authorBenno Fünfstück <benno.fuenfstueck@gmail.com>
dateWed 19 Apr 2017, 17:14 (10 years ago)
parent792135a
pkgs/development/libraries/aspell/default.nix+1−1
@@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
3131 #! $SHELL -e
3232 if [ -z "\$ASPELL_CONF" ]; then
3333 for p in \$NIX_PROFILES; do
34− if [ -d "\$p/lib/aspell" ]; then
34+ if [ -z "\$ASPELL_CONF" ] && [ -d "\$p/lib/aspell" ]; then
3535 ASPELL_CONF="data-dir \$p/lib/aspell"
3636 fi
3737 done