From 3761792c3aa0266ca76aaef0c033690d6f91c84f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= <ludo@gnu.org>
Date: Wed, 28 Jan 2015 10:53:50 +0100
Subject: [PATCH] system: Define $ASPELL_CONF in /etc/profile.

* gnu/system.scm (etc-directory)[profile]: Define 'ASPELL_CONF'.
---
 gnu/system.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/gnu/system.scm b/gnu/system.scm
index fc7b5b10991..b3c5cd80385 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -451,6 +451,9 @@ (define* (etc-directory #:key
 # 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"
-- 
GitLab