From ab8ba712054e170dfbef30f53b4a5a88b93aad6f Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Fri, 29 Dec 2017 13:45:54 +0100 Subject: [PATCH] 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. --- scripts/nix-profile.sh.in | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scripts/nix-profile.sh.in b/scripts/nix-profile.sh.in index ab95c09c8..450d683c7 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