From ae05e366bea4517f1e428799f00f11997ccef661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 4 Apr 2016 22:27:15 +0200 Subject: [PATCH] system: Define 'GTK_DATA_PREFIX' globally. Fixes . Reported by Chris Marusich . * gnu/system.scm (operating-system-environment-variables): Add 'GTK_DATA_PREFIX'. --- gnu/system.scm | 5 +++++ 1 file changed, 5 insertions(+) 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 @@ (define (operating-system-environment-variables os) ("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")))