summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
diff options
context:
space:
mode:
authorSofi <sofi+git@mailbox.org>2022-12-16 13:53:28 +0100
committerSofi <sofi+git@mailbox.org>2022-12-16 14:37:45 +0100
commit1ddba4aadbe9670d7329ef4470f347a75b98e955 (patch)
treea7b011fbe924e8ed46cf7d73789bad869c51fdc8 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch
parentfbcb61bd7eb19914cbd88789c3586a63ff46b72b (diff)
chromium: fix web app linking
Currently Chromium will generate its Web App shortcuts by pointing to the current unwrapped executable of itself. This leads to all Web App shortcuts failing to launch as it is not launched trough nixpkgs's wrapper. This fix will set the `CHROME_WRAPPER` environment variable to point to a valid wrapper script, allowing chromium based browsers to generate valid `.desktop` files. NOTE: As these files are only set once by the browser inside of `~/.local/share/applications` and not updated, this fix will only work for generating new shortcuts, and only work as long as the relevant binary is available in `$PATH` for that user. INFO: While generic sounding, `CHROME_WRAPPER` is only invoked inside of `web_app_shortcut_linux.cc`[^1], so it should only affect the generation of web app shortcut files. INFO: There is a similar patch for google-chrome itself in nixpkgs.[^2] [^1]: https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/shell_integration_linux.cc;l=405;drc=b8f43a4e55639b03f76eccc6f6b951f2d06b8833 [^2]: https://github.com/NixOS/nixpkgs/pull/155430/
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions