Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
12 lines
346 B
Diff
12 lines
346 B
Diff
--- a/src/xdp-portal-impl.c
|
|
+++ b/src/xdp-portal-impl.c
|
|
@@ -277,6 +277,8 @@ load_installed_portals (gboolean opt_verbose)
|
|
|
|
/* We need to override this in the tests */
|
|
portal_dir = g_getenv ("XDG_DESKTOP_PORTAL_DIR");
|
|
+ if (portal_dir == NULL)
|
|
+ portal_dir = g_getenv ("NIX_XDG_DESKTOP_PORTAL_DIR");
|
|
if (portal_dir != NULL)
|
|
{
|
|
|