nixpkgs/pkgs/applications/networking/browsers
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
..
amfora amfora: add changelog 2021-04-01 17:59:47 +02:00
angelfish angelfish: init at 1.8.0 2021-03-31 17:06:13 +02:00
asuka aerc, asuka, scdoc, wev, wlsunset, wshowkeys: use fetchFromSourceHut 2021-03-14 00:34:30 +13:00
av-98 av-98: add pythonImportsCheck 2021-02-11 16:46:34 +01:00
bombadillo bombadillo: add man page 2021-02-13 20:09:04 +01:00
brave brave: 1.21.76 -> 1.21.77 (#116597) 2021-03-17 20:28:17 +01:00
browsh treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
captive-browser buildGoPackage: remove platform.all from packages 2020-08-15 19:34:47 -07:00
castor Merge pull request #102225 from luc65r/fetchsrht 2021-03-11 12:51:13 +01:00
chromium chromium: get-commit-message.py: Deduplicate the CVE list 2021-04-14 14:33:34 +02:00
dillo treewide: stdenv.lib -> lib 2021-01-16 17:58:11 +07:00
elinks lzma: deprecate alias 2021-04-04 19:49:52 +02:00
eolie treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
ephemeral treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
falkon treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
firefox Add Firefox libs to beginning of LD_LIBRARY_PATH 2021-04-14 10:52:28 -05:00
firefox-bin kerberos: deprecate alias 2021-04-04 03:18:56 +02:00
gmni gmni: init at unstable-2021-03-26 2021-03-31 13:39:57 -07:00
google-chrome kerberos: deprecate alias 2021-04-04 03:18:56 +02:00
kristall kristall: add license 2020-06-27 00:11:06 +02:00
lagrange lagrange: 1.3.0 → 1.3.2 2021-04-11 20:30:32 +03:00
links2 links2: 2.21 -> 2.22 2021-03-23 14:16:38 -04:00
luakit luakit: 2.2.1 -> 2.3 2021-03-01 15:03:41 -03:00
lynx pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
midori treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
netsurf netsurf: fix build (#111991) 2021-02-05 10:57:26 +01:00
nyxt nyxt: change meta.platforms to platforms.all 2021-03-06 07:15:32 +01:00
opera Merge pull request #94354 from flokli/systemd-246 2020-08-24 12:42:24 +02:00
palemoon palemoon: 29.1.0 -> 29.1.1 2021-04-08 10:48:12 +02:00
qtchan
qutebrowser qutebrowser: don't crash on :version command (#118885) 2021-04-09 13:16:26 +02:00
surf treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
tor-browser-bundle
tor-browser-bundle-bin Merge pull request #117867 from mrVanDalo/feature/tor-browser-override 2021-03-29 00:09:38 +02:00
vieb vieb: 3.1.0 -> 3.4.0 2021-02-13 17:48:28 +01:00
vimb treewide: pkgs.pkgconfig -> pkgs.pkg-config, move pkgconfig to alias.nix 2021-01-19 01:16:25 -08:00
vivaldi vivaldi: 3.6.2165.36-1 -> 3.7.2218.45-1 2021-03-20 19:46:58 -05:00
w3m pkgs/applications: pkgconfig -> pkg-config 2021-01-16 23:49:59 -08:00
webbrowser treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
webmacs