nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at devShellTools-shell 11 lines 346 B view raw
1--- a/src/xdp-portal-impl.c 2+++ b/src/xdp-portal-impl.c 3@@ -277,6 +277,8 @@ load_installed_portals (gboolean opt_verbose) 4 5 /* We need to override this in the tests */ 6 portal_dir = g_getenv ("XDG_DESKTOP_PORTAL_DIR"); 7+ if (portal_dir == NULL) 8+ portal_dir = g_getenv ("NIX_XDG_DESKTOP_PORTAL_DIR"); 9 if (portal_dir != NULL) 10 { 11