summaryrefslogtreecommitdiff
path: root/gnu/system.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-09-18 09:50:52 +0200
committerLudovic Courtès <ludo@gnu.org>2017-09-18 15:44:52 +0200
commitc08da2ee371e7667dbed0eeb84f43e489b1be5f5 (patch)
treebc4e0741db131461de98c40458894660d8f55d0c /gnu/system.scm
parentebfd6a718a8c93c4acfe24ab4739ae577fa9f16b (diff)
system: Define 'DICPATH' in /etc/profile.
* gnu/system.scm (operating-system-etc-service) <profile>: Define 'DICPATH'.
Diffstat (limited to 'gnu/system.scm')
-rw-r--r--gnu/system.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index c4404f5932..d337e52593 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -610,6 +610,10 @@ fi
# See <http://bugs.gnu.org/22650>.
umask 022
+# Allow Hunspell-based applications (IceCat, LibreOffice, etc.) to
+# find dictionaries.
+export DICPATH=\"$HOME/.guix-profile/share/hunspell:/run/current-system/profile/share/hunspell\"
+
# Allow GStreamer-based applications to find plugins.
export GST_PLUGIN_PATH=\"$HOME/.guix-profile/lib/gstreamer-1.0\"