From 399065f226ca70360f25682d76be3c5e89e60239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benno=20F=C3=BCnfst=C3=BCck?= Date: Wed, 19 Apr 2017 17:14:51 +0200 Subject: [PATCH] aspell: only set ASPELL_CONF from NIX_PROFILES in wrapper if unset --- pkgs/development/libraries/aspell/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/aspell/default.nix b/pkgs/development/libraries/aspell/default.nix index e69bbe0d2f2b..8a0e79503960 100644 --- a/pkgs/development/libraries/aspell/default.nix +++ b/pkgs/development/libraries/aspell/default.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { #! $SHELL -e if [ -z "\$ASPELL_CONF" ]; then for p in \$NIX_PROFILES; do - if [ -d "\$p/lib/aspell" ]; then + if [ -z "\$ASPELL_CONF" ] && [ -d "\$p/lib/aspell" ]; then ASPELL_CONF="data-dir \$p/lib/aspell" fi done