Revert "aspell: only set ASPELL_CONF from NIX_PROFILES in wrapper if unset"
This reverts commit 399065f226
.
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
|
||||
if [ -z "\$ASPELL_CONF" ]; then
|
||||
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"
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user