summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-01-28 10:53:50 +0100
committerLudovic Courtès <ludo@gnu.org>2015-01-28 10:56:04 +0100
commit3761792c3aa0266ca76aaef0c033690d6f91c84f (patch)
treed365e72593ac1d734e3ffebe327121a286685e33
parent43faf869b943f87ee20d438ee6134acf5fd2f1c2 (diff)
system: Define $ASPELL_CONF in /etc/profile.
* gnu/system.scm (etc-directory)[profile]: Define 'ASPELL_CONF'.
-rw-r--r--gnu/system.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index fc7b5b1099..b3c5cd8038 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -451,6 +451,9 @@ export EMACSLOADPATH=:/etc/emacs
# By default, applications that use D-Bus, such as Emacs, abort at startup
# when /etc/machine-id is missing. Make sure these warnings are non-fatal.
export DBUS_FATAL_WARNINGS=0
+
+# Allow Aspell to find dictionaries installed in the user profile.
+export ASPELL_CONF=\"dict-dir $HOME/.guix-profile/lib/aspell\"
"))
(skel (skeleton-directory skeletons)))
(file-union "etc"