diff options
| author | Jan Tojnar <jtojnar@gmail.com> | 2023-11-18 00:35:54 +0100 |
|---|---|---|
| committer | Jan Tojnar <jtojnar@gmail.com> | 2024-02-11 03:21:55 +0100 |
| commit | 3b2f55e89f8233333b191bb7b4c9d6448a4a2d74 (patch) | |
| tree | 035217ee039777ad1bf153151a27d93dfad08f24 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | f8e2ebd66d097614d51a56a755450d4ae1632df1 (diff) | |
xdg-desktop-portal: Use custom variable for finding portals
x-d-p only looks for portal definitions in one of two places:
- datadir (which we cannot install anything to, since Nix packages are immutable)
- when `XDG_DESKTOP_PORTAL_DIR` environment variable is set, the path specified therein
(meant for tests, disables looking for portal configuration anywhere else)
Let’s introduce our own `NIX_XDG_DESKTOP_PORTAL_DIR` environment variable
that will only control the portal definitions lookup.
We will not use it for searching for configuration
because it would require looking in the parent directory
and `XDG_CONFIG_DIRS` variable is sufficient for us.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
