From 0ddfe72b0b55947cb4299472c3d2e55ae27f740d Mon Sep 17 00:00:00 2001 From: xenofem Date: Wed, 24 Aug 2022 15:10:44 -0400 Subject: [PATCH] update firefox, improved extension signing requirements detection --- flake.lock | 6 +++--- flake.nix | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 3c7280f..124a6e4 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1659522808, - "narHash": "sha256-HBcM19nGhI3IWwPNVlYb0MZ8VW6iKp4JbAVkeIHVykc=", + "lastModified": 1661328374, + "narHash": "sha256-GGMupfk/lGzPBQ/dRrcQEhiFZ0F5KPg0j5Q4Fb5coxc=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "168d1c578909dc143ba52dbed661c36e76b12b36", + "rev": "f034b5693a26625f56068af983ed7727a60b5f8b", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 8607c12..e3026a0 100644 --- a/flake.nix +++ b/flake.nix @@ -13,8 +13,9 @@ geolocationSupport = false; googleAPISupport = false; }).overrideAttrs (oldAttrs: rec { - # wrapFirefox gets scared if you try to give addons to non-ESR firefox - name = oldAttrs.name + "-not-esr"; + # Allow unsigned extensions in non-ESR firefox + MOZ_REQUIRE_SIGNING = false; + patches = oldAttrs.patches ++ [ # I want to preconfigure the search engine settings to make # DuckDuckGo the default search engine and remove most of the