From 45e2fa2727371a19ec56bb648d6e116a30d52728 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 20 Apr 2022 22:48:29 -0700 Subject: [PATCH] =?UTF-8?q?Add=20definition=20for=20=E2=80=98XDG=5FDATA=5F?= =?UTF-8?q?DIRS=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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(-) 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