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.
This commit is contained in:
Frederik Rietdijk 2017-12-29 13:45:54 +01:00
parent 6a0dd63508
commit ab8ba71205
1 changed files with 0 additions and 6 deletions

View File

@ -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