Revert "aspell: only set ASPELL_CONF from NIX_PROFILES in wrapper if unset"
This reverts commit 399065f226ca70360f25682d76be3c5e89e60239. I am blind, this was already checked above. Thanks @bjornfor for noticing.
This commit is contained in:
parent
149656581d
commit
042e268612
@ -31,7 +31,7 @@ stdenv.mkDerivation rec {
|
|||||||
#! $SHELL -e
|
#! $SHELL -e
|
||||||
if [ -z "\$ASPELL_CONF" ]; then
|
if [ -z "\$ASPELL_CONF" ]; then
|
||||||
for p in \$NIX_PROFILES; do
|
for p in \$NIX_PROFILES; do
|
||||||
if [ -z "\$ASPELL_CONF" ] && [ -d "\$p/lib/aspell" ]; then
|
if [ -d "\$p/lib/aspell" ]; then
|
||||||
ASPELL_CONF="data-dir \$p/lib/aspell"
|
ASPELL_CONF="data-dir \$p/lib/aspell"
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
Loading…
x
Reference in New Issue
Block a user