summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-04-04 22:27:15 +0200
committerLudovic Courtès <ludo@gnu.org>2016-04-04 23:45:57 +0200
commitae05e366bea4517f1e428799f00f11997ccef661 (patch)
treebe22e4593298a80a2986c35eecdbb3531b550cac /gnu
parente314ce1bd7b21229c750ab7132feac8189da87ba (diff)
downloadguix-ae05e366bea4517f1e428799f00f11997ccef661.tar.gz
system: Define 'GTK_DATA_PREFIX' globally.
Fixes <http://bugs.gnu.org/23200>.
Reported by Chris Marusich <cmmarusich@gmail.com>.

* gnu/system.scm (operating-system-environment-variables): Add
'GTK_DATA_PREFIX'.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index 8e05254b33..a4259fb61b 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -560,6 +560,11 @@ use 'plain-file' instead~%")
     ("SSL_CERT_DIR" . "/etc/ssl/certs")
     ("SSL_CERT_FILE" . "/etc/ssl/certs/ca-certificates.crt")
     ("GIT_SSL_CAINFO" . "/etc/ssl/certs/ca-certificates.crt")
+
+    ;; 'GTK_DATA_PREFIX' must name one directory where GTK+ themes are
+    ;; searched for.
+    ("GTK_DATA_PREFIX" . "/run/current-system/profile")
+
     ;; 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.
     ("DBUS_FATAL_WARNINGS" . "0")))