From 3af241fc0915660b7ef127c41d007e261a1f8b70 Mon Sep 17 00:00:00 2001 From: Peter Tillemans Date: Thu, 27 Mar 2025 19:00:34 +0100 Subject: [PATCH] fix bug when XDG_DATA_DIRS is not defined --- snamellit/common.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snamellit/common.scm b/snamellit/common.scm index 2fa37c2..faf21b5 100644 --- a/snamellit/common.scm +++ b/snamellit/common.scm @@ -258,7 +258,7 @@ (simple-service 'my-xdg-data-dirs home-environment-variables-service-type `(("XDG_DATA_DIRS" . ,(add-folders-to-path - (getenv "XDG_DATA_DIRS") + (or (getenv "XDG_DATA_DIRS") "") '("/var/lib/flatpak/exports/share" "/home/pti/.local/share/flatpak/exports/share" "/home/pti/.guix-home/profile/share")))))