Commit Graph

6 Commits

Author SHA1 Message Date
squalus
6177177e4b
librewolf: enable pgo (#228363)
Librewolf no longer hangs in the profile phase when pgo is enabled

Fixes #167065
2023-04-26 23:01:47 +02:00
colin
6c8f82937f librewolf: build with MOZ_REQUIRE_SIGNING = ""
this allows sideloading unsigned browser extensions (via the
`nixExtensions` option in the [firefox-wrapper]). i believe librewolf
is meant to allow unsigned sideloading, based on upstream discussions
and this bit that already exists in ./librewolf.nix:

```nix
extraConfigureFlags = [
    "--with-unsigned-addon-scopes=app,system"
    "--allow-addon-sideload"
];
```

but Mozilla changed some defaults over the years. this `MOZ_REQUIRE_SIGNING`
option is mentioned [upstream] and we can see that the arch [[pkgbuild]]
clears it in a similar manner.

[upstream]: https://gitlab.com/librewolf-community/browser/arch/-/issues/49
[pkgbuild]: https://gitlab.com/librewolf-community/browser/arch/-/blob/master/PKGBUILD#L95
[firefox-wrapper]: pkgs/applications/networking/browsers/firefox/wrapper.nix
2022-11-07 21:35:00 -08:00
Vladimír Čunát
61598203a4
librewolf: fix build on aarch64-linux by upstream patch
https://hydra.nixos.org/build/196437728
Same as c08efaf08 for firefox.

Cleanup of the nix expression was needed; the previous patch file
didn't even exist (anymore?)
2022-10-26 09:43:52 +02:00
squalus
478940e2c7 librewolf: add nixos test
- support librewolf in the firefox nixos test
- use the correct binary name
- ensure autoplay is always on for the audio test, since
  librewolf disables it by default
2022-07-08 17:40:24 -07:00
Martin Weinelt
318fae87c0
buildMozillaMach: Add distribution identifier and distribution.ini
Adds a distribution id useful for aggregation of crash statistics.

Also creates a NixOS flavor, visible through the About window, that is
also exposed through telemetry data, if enabled.
2022-05-19 23:12:47 +02:00
squalus
b1571265b5 librewolf: move out of firefox directory
Simplifies Firefox maintenance. See #160520

- make the firefox common.nix available from the top level as
  buildMozillaMach
- use new buildMozillaMach function in librewolf expressions
- minor changes to update script
2022-05-10 00:10:21 -07:00