about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2017-12-29T12·45+0100
committerFrederik Rietdijk <fridh@fridh.nl>2017-12-29T12·45+0100
commitab8ba712054e170dfbef30f53b4a5a88b93aad6f (patch)
tree219709f0148de14477c41d2e4233e9e563bf0491 /scripts
parent6a0dd635084213bf75c1f36bc9bc38d242096e65 (diff)
Do not export ASPELL_CONF
This does not belong in Nix. Setting this env var is already done by the aspell derivation found in Nixpkgs.
Diffstat (limited to 'scripts')
-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