nixpkgs/pkgs/applications/networking/browsers/firefox
Naïm Favier 863cdf8f09
wrapFirefox: handle binary wrappers
We can't just edit binary wrappers in place because of a length
mismatch, so we have to parse the generating makeCWrapper call out of
the binary, extract wrapper arguments from it and add them to the
Firefox wrapper.

All these contortions are needed because Firefox looks for its runtime
in argv0, so the proper argv0 needs to be set by wrappers to always
point to the "final" runtime. I think this could be avoided by wrapping
/lib/$libName/firefox instead of /bin/firefox, and I'd like to look into
that in the future, but for now I'm just fixing the immediate problem.
2022-05-07 20:40:43 +02:00
..
librewolf librewolf: 100.0-1 -> 100.0-2 2022-05-05 07:19:14 -07:00
common.nix firefox: 99.0.1 -> 100.0 2022-05-03 15:34:02 +02:00
env_var_for_system_dir-ff86.patch
no-buildconfig-ffx90.patch
no-buildconfig-ffx96.patch firefox: 95.0.2 -> 96.0 2022-01-11 00:35:00 +01:00
packages.nix firefox-esr: 91.8.0esr -> 91.9.0esr 2022-05-03 15:35:22 +02:00
update.nix
wrapper.nix wrapFirefox: handle binary wrappers 2022-05-07 20:40:43 +02:00