From 45e2fa2727371a19ec56bb648d6e116a30d52728 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 20 Apr 2022 22:48:29 -0700 Subject: Add definition for ‘XDG_DATA_DIRS’ Archlinux doesn't specify a value for this and relies on applications knowing the default. Guix adds values to this list, meaning that because there is no value initially it overrides the defaults completely. One thing that always goes wrong when this happens is that Firefox installed through ‘pacman’ won't be able to find some schemas it needs to show the upload file dialog and crashes when I try. --- oni/home/data/config.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'oni/home') diff --git a/oni/home/data/config.scm b/oni/home/data/config.scm index 09f0949..8c12e30 100644 --- a/oni/home/data/config.scm +++ b/oni/home/data/config.scm @@ -36,7 +36,8 @@ ("DOTNET_CLI_TELEMETRY_OPTOUT" . "1") ("EDITOR" . "emacsclient") ("CALIBRE_USE_DARK_PALETTE" . "1") - ("GUIX_LOCPATH" . "$HOME/.guix-home/profile/lib/locale"))) + ("GUIX_LOCPATH" . "$HOME/.guix-home/profile/lib/locale") + ("XDG_DATA_DIRS" . "${XDG_DATA_DIRS}${XDG_DATA_DIRS:+:}/usr/local/share:/usr/share"))) (service home-redshift-service-type (home-redshift-configuration -- cgit v1.2.3-54-g00ecf