about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2018-01-02T10·29+0100
committerGitHub <noreply@github.com>2018-01-02T10·29+0100
commit099ba37820653763fa30b7856c85c4b8fed657e0 (patch)
tree219709f0148de14477c41d2e4233e9e563bf0491
parent6a0dd635084213bf75c1f36bc9bc38d242096e65 (diff)
parentab8ba712054e170dfbef30f53b4a5a88b93aad6f (diff)
Merge pull request #1766 from FRidh/aspell
Do not export ASPELL_CONF
-rw-r--r--scripts/nix-profile.sh.in6
1 files changed, 0 insertions, 6 deletions
diff --git a/scripts/nix-profile.sh.in b/scripts/nix-profile.sh.in
index ab95c09c8305..450d683c7f44 100644
--- a/scripts/nix-profile.sh.in
+++ b/scripts/nix-profile.sh.in
@@ -60,12 +60,6 @@ if [ -n "$HOME" ] && [ -n "$USER" ]; then
     # This part should be kept in sync with nixpkgs:nixos/modules/programs/environment.nix
     NIX_PROFILES="@localstatedir@/nix/profiles/default $NIX_USER_PROFILE_DIR"
 
-    for i in $NIX_PROFILES; do
-        if [ -d "$i/lib/aspell" ]; then
-            export ASPELL_CONF="dict-dir $i/lib/aspell"
-        fi
-    done
-
     # Set $NIX_SSL_CERT_FILE so that Nixpkgs applications like curl work.
     if [ -e /etc/ssl/certs/ca-certificates.crt ]; then # NixOS, Ubuntu, Debian, Gentoo, Arch
         export NIX_SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt