3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/networking
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
..
3proxy
apache-directory-studio
appgate-sdp appgate-sdp: add missing xdg-utils 2021-04-06 18:52:18 +02:00
bee treewide: remove stdenv where not needed 2021-03-04 19:54:50 +07:00
brig treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
browsers Add Firefox libs to beginning of LD_LIBRARY_PATH 2021-04-14 10:52:28 -05:00
c14 treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
calls calls: build docs 2021-03-13 20:44:22 -08:00
cawbird
charles Merge pull request #117939 from victorluft/charlesupg 2021-04-02 18:47:34 +02:00
cloudflared cloudflared: 2021.2.1 -> 2021.3.3 2021-03-25 17:32:48 -07:00
cluster Merge pull request #119311 from 06kellyjac/tektoncd-cli 2021-04-13 13:43:26 +02:00
compactor lzma: deprecate alias 2021-04-04 19:49:52 +02:00
datovka treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
davmail
dnscontrol dnscontrol: 3.7.0 -> 3.8.0 2021-03-30 10:33:54 +00:00
drive
droopy
dropbox
dsvpn
dyndns cfdyndns: fix build 2021-03-04 01:05:00 +09:00
enhanced-ctorrent
errbot errbot: 6.1.1 -> 6.1.7 2021-02-09 19:43:27 +01:00
feedreaders Merge pull request #119067 from doronbehar/pkg/gnome-feeds/rename 2021-04-13 18:06:14 +02:00
firehol iproute: deprecate alias 2021-04-04 01:43:46 +02:00
flent treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
flexget flexget: 3.1.103 -> 3.1.106 2021-03-14 04:20:00 +00:00
ftp filezilla: 3.52.2 -> 3.53.0 2021-03-23 03:59:22 +00:00
gdrive treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
giara giara: init at 0.3 2021-01-28 11:28:07 +01:00
gmailctl
gnome-network-displays
gns3 Merge branch 'master' into staging-next 2021-03-05 20:38:56 +01:00
google-drive-ocamlfuse
gopher sacc: 1.02 -> 1.03 2021-02-05 20:23:27 +00:00
hpmyroom
hydroxide
icemon
ids zeek: use caf from nixpkgs 2021-03-05 06:00:00 -05:00
ike iproute: deprecate alias 2021-04-04 01:43:46 +02:00
instant-messengers signal-desktop: 1.40.1 -> 5.0.0 (#119309) 2021-04-13 13:42:44 +02:00
insync treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
ipfs ipfs: 0.7.0 -> 0.8.0 2021-02-20 23:03:44 +00:00
ipfs-cluster treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
ipfs-migrator ipfs-migrator: 1.7.0 -> 1.7.1 2021-02-03 15:10:45 +00:00
ipget treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
iptraf
iptraf-ng
irc convos: 6.06 -> 6.11 2021-04-14 17:14:20 +08:00
jmeter jmeter: 5.4 -> 5.4.1 2021-01-30 06:27:22 +00:00
jnetmap treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
libcoap
lieer pythonPackages.google-api-python-client: normalize package name 2021-03-06 00:02:06 +01:00
linssid
maestral-qt maestral-gui: 1.4.2 -> 1.4.3 2021-03-16 14:30:53 +08:00
mailreaders thunderbird: 78.9.0 -> 78.9.1 2021-04-09 03:12:55 +09:00
mkchromecast
modem-manager-gui modem-manager-gui: remove unused inputs 2021-03-01 10:47:10 +01:00
mpop mpop: 1.4.12 -> 1.4.13 2021-03-25 22:20:29 +00:00
msmtp msmtp: 1.8.14 -> 1.8.15 2021-03-14 13:36:03 +00:00
mullvad-vpn mullvad-vpn: 2021.1 -> 2021.2 2021-02-18 16:29:19 +00:00
mumble grpc: fix build input propagation 2021-03-15 23:56:19 +01:00
n8n regenerate with node2nix 1.9.0 except zigbee2mqtt 2021-02-03 19:52:09 +01:00
ncgopher ncgopher: 0.1.5 -> 0.2.0 2021-02-16 12:01:42 +01:00
ndppd
netperf
newsreaders
nextcloud-client nextcloud-client: Add back qtWrapperArgs 2021-03-19 14:37:52 -07:00
nextdns nextdns: 1.9.6 -> 1.10.1 2021-01-30 18:56:34 +00:00
ngadmin
nload
nntp-proxy
nym
offrss
omping
onionshare onionshare: 2.3 -> 2.3.1 2021-02-24 18:10:34 +01:00
openbazaar
ostinato
owamp
owncloud-client treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
p2p deluge: shut up ngettext error on webui start (#115055) 2021-03-29 18:25:56 +08:00
pcloud pcloud: 1.8.9 -> 1.9.1 2021-04-06 22:29:53 +02:00
ping
pjsip
powerdns-admin powerdns-admin: init at 0.2.3 2021-03-07 13:18:10 -08:00
protocol treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
protonmail-bridge protonmail-bridge: 1.5.0 -> 1.6.9 (#117814) 2021-04-02 19:53:38 +02:00
protonvpn-cli
protonvpn-gui protonvpn-gui: Disable tests 2021-02-05 12:51:23 +01:00
ps2client
qv2ray treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
remote aws-workspaces: 3.1.3.925 -> 3.1.5.1105 2021-04-11 16:02:13 +01:00
resilio-sync
scaleft
seafile-client
seaweedfs seaweedfs: 2.35 -> 2.36 2021-03-30 18:15:57 +00:00
shellhub-agent shellhub-agent: Fix scp support 2021-04-02 00:45:11 -03:00
sieve-connect
siproxd
sniffers Merge pull request #115538 from jollheef/wireshark-fix 2021-04-05 21:15:09 +02:00
sniproxy
soapui
soulseek/nicotine-plus treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
spideroak
ssb-patchwork
station
Sylk Sylk: 3.0.0 -> 3.0.1 2021-02-10 18:02:01 +01:00
sync rclone: build with 'cmount' support (#117119) 2021-04-07 10:41:35 +02:00
syncplay
syncthing syncthing: 1.14.0 -> 1.15.1 2021-04-10 14:06:10 -04:00
syncthing-gtk treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
tcpkali
termius
testssl testssl: 3.0.2 -> 3.0.4 2021-03-10 02:14:10 +00:00
trebleshot
tsung treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
twtxt treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
umurmur umurmur: 0.2.19 -> 0.2.20 2021-03-26 10:57:27 +01:00
utahfs
versus treewide: remove stdenv where not needed 2021-01-25 18:31:47 +01:00
vnstat
wayback_machine_downloader
weather/meteo
websocketd websocketd: 0.3.1 -> 0.4.1 2021-02-09 18:43:14 +00:00
wg-bond treewide: makeWrapper buildInputs to nativeBuildInputs 2021-02-19 20:09:16 +07:00
zerobin zerobin: 20160108 -> 1.0.5 2021-03-13 13:06:06 +01:00
znc znc: enable parallel building 2021-03-29 18:38:44 +00:00