From 0b6fadd6153b0b5da8963e2c1450ca639b6a80af Mon Sep 17 00:00:00 2001 From: bentenjamin Date: Wed, 26 Feb 2025 18:35:39 +0200 Subject: [PATCH] firefox: fix wrapper autoconfig semicolon The wrapper has a conditional checking for optional nix extensions. If it exists it adds a preference line to the autoConfig file. In the previous commit d3a6a124cf1fefb015e3a4a0642bcee8c623451f the conditional was added to the line in the config, but it missed the semicolon at the end of the string. Leading to the autoConfig file always having a seemingly random ; regardless of the condition. --- pkgs/applications/networking/browsers/firefox/wrapper.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix index 9f45eacd94c4..4731b36b76c2 100644 --- a/pkgs/applications/networking/browsers/firefox/wrapper.nix +++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix @@ -147,7 +147,7 @@ let // to be able to install addons that do not have an extid // Security is maintained because only user whitelisted addons // with a checksum can be installed - ${ lib.optionalString usesNixExtensions ''lockPref("xpinstall.signatures.required", false)'' }; + ${ lib.optionalString usesNixExtensions ''lockPref("xpinstall.signatures.required", false);'' } ''; #############################