fix bug when XDG_DATA_DIRS is not defined

This commit is contained in:
Peter Tillemans 2025-03-27 19:00:34 +01:00
parent 5cf2b26053
commit 3af241fc09

View file

@ -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")))))