nixpkgs/pkgs/applications
Wesley Merkel 2fc271ffdd Add Firefox libs to beginning of LD_LIBRARY_PATH
When firefox is executed by programs that also make changes to
`LD_LIBRARY_PATH`, the paths can conflict causing firefox to look for
shared libraries in the wrong location. This is because the wrapper
script around firefox *appends* library paths to `LD_LIBRARY_PATH`
instead of prepending them, causing library paths that are already in
the environment to take precedence over the library paths that firefox
depends on.

As an example, Discord and firefox both depend on different versions of
libnss. When Discord launches firefox, which happens when clicking on
hyperlinks, the path in `LD_LIBRARY_PATH` to libnss set by Discord takes
precedence over then one set by the firefox wrapper script causing
firefox to load a different version of libnss than the one it was built
against. This causes a fatal error in firefox which prevents it from
starting.

This commit fixes this issue by switching the firefox wrapper script to
*prepend* its library paths to `LD_LIBRARY_PATH`.

Fixes #118432
2021-04-14 10:52:28 -05:00
..
accessibility svkbd: init at 0.3 2021-04-01 14:59:54 +02:00
audio Merge pull request #118929 from magnetophon/drumgizmo 2021-04-13 23:33:54 +02:00
backup pika-backup: 0.2.2 -> 0.2.3 2021-03-31 14:52:53 +02:00
blockchains Merge pull request #119148 from andresilva/fix-polkadot-0.8.30 2021-04-11 22:28:20 +02:00
display-managers lightdm_gtk_greeter: fix license 2021-03-31 19:10:51 -03:00
editors Merge pull request #119392 from samuela/upkeep-bot/vscodium-1.55.2-1618381422 2021-04-14 13:52:05 +01:00
gis lzma: deprecate alias 2021-04-04 19:49:52 +02:00
graphics Merge pull request #102060 from addict3d/add-python-diagrams-from-github 2021-04-13 13:56:54 +02:00
kde lzma: deprecate alias 2021-04-04 19:49:52 +02:00
logging/humioctl
misc clight: 4.2 → 4.5 2021-04-13 16:54:15 +02:00
networking Add Firefox libs to beginning of LD_LIBRARY_PATH 2021-04-14 10:52:28 -05:00
office super-productivity: 1.10.45 -> 6.5.2 2021-04-14 14:53:48 +02:00
printing/pappl
qubes/qubes-core-vchan-xen
radio multimon-ng: drop qt4 2021-04-06 10:35:48 +08:00
science sherpa: compile with --enable-pythia flag 2021-04-13 09:34:42 -04:00
search Merge pull request #118574 from dotlambda/recoll-python 2021-04-08 18:21:06 +02:00
system
terminal-emulators wezterm: 20210314 -> 20210407-nightly, add SuperSandro2000 as maintainer 2021-04-09 21:09:53 +00:00
version-management git-cinnabar: 0.5.6 -> 0.5.7 2021-04-13 12:16:02 +00:00
video Merge pull request #119393 from jojosch/jellyfin-mpv-shim-1.10.4 2021-04-14 14:26:45 +02:00
virtualization cri-o: 1.20.1 -> 1.21.0 2021-04-14 18:24:07 +10:00
window-managers Merge pull request #119259 from romildo/upd.e16 2021-04-13 01:23:27 +02:00