summary refs log tree commit diff
path: root/doc/builders/packages
diff options
context:
space:
mode:
authorLuis-Hebendanz <luis.nixos@gmail.com>2021-08-22 22:17:44 +0200
committerLuis-Hebendanz <luis.nixos@gmail.com>2021-08-22 22:17:44 +0200
commitd031843a1eee244172570c64c9e238641563e68e (patch)
tree03b6744f7c2d9e0022fef06c54289b7d635bcb61 /doc/builders/packages
parent00f31216e0c2f825aaf300ce304b9e95b17028b0 (diff)
downloadnixpkgs-d031843a1eee244172570c64c9e238641563e68e.tar
nixpkgs-d031843a1eee244172570c64c9e238641563e68e.tar.gz
nixpkgs-d031843a1eee244172570c64c9e238641563e68e.tar.bz2
nixpkgs-d031843a1eee244172570c64c9e238641563e68e.tar.lz
nixpkgs-d031843a1eee244172570c64c9e238641563e68e.tar.xz
nixpkgs-d031843a1eee244172570c64c9e238641563e68e.tar.zst
nixpkgs-d031843a1eee244172570c64c9e238641563e68e.zip
firefox: Added checks for new addon behaviour since v91
Diffstat (limited to 'doc/builders/packages')
-rw-r--r--doc/builders/packages/firefox.section.md7
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/builders/packages/firefox.section.md b/doc/builders/packages/firefox.section.md
index b7c430db232..d6426981da7 100644
--- a/doc/builders/packages/firefox.section.md
+++ b/doc/builders/packages/firefox.section.md
@@ -2,11 +2,12 @@
 
 ## Build wrapped Firefox with extensions and policies {#build-wrapped-firefox-with-extensions-and-policies}
 
-The `wrapFirefox` function allows to pass policies, preferences and extension that are available to firefox. With the help of `fetchFirefoxAddon` this allows build a firefox version that already comes with addons pre-installed:
+The `wrapFirefox` function allows to pass policies, preferences and extension that are available to Firefox. With the help of `fetchFirefoxAddon` this allows build a Firefox version that already comes with addons pre-installed:
 
 ```nix
 {
-  myFirefox = wrapFirefox firefox-unwrapped {
+  # Nix firefox addons only work with the firefox-esr package.
+  myFirefox = wrapFirefox firefox-esr-unwrapped {
     nixExtensions = [
       (fetchFirefoxAddon {
         name = "ublock"; # Has to be unique!
@@ -45,5 +46,7 @@ or type into the Firefox url bar: `about:policies#documentation`.
 Nix installed addons do not have a valid signature, which is why signature verification is disabled. This does not compromise security because downloaded addons are checksumed and manual addons can't be installed. Also make sure that the `name` field of fetchFirefoxAddon is unique. If you remove an addon from the nixExtensions array, rebuild and start Firefox the removed addon will be completly removed with all of its settings.
 
 ## Troubleshooting {#sec-firefox-troubleshooting}
+If addons are marked as broken or the signature is invalid, make sure you have Firefox ESR installed. Normal Firefox does not provide the ability anymore to disable signature verification for addons thus nix addons get disabled by the normal Firefox binary.
+
 If addons do not appear installed although they have been defined in your nix configuration file reset the local addon state of your Firefox profile by clicking `help -> restart with addons disabled -> restart -> refresh firefox`. This can happen if you switch from manual addon mode to nix addon mode and then back to manual mode and then again to nix addon mode.