From c7e4f2ab005539d301afed0d56e01080a48a5c25 Mon Sep 17 00:00:00 2001 From: xenofem Date: Thu, 21 Nov 2024 03:08:14 -0500 Subject: [PATCH] firefox override is back to normal --- flake.lock | 6 +++--- flake.nix | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 725679f..d98d6b8 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1731676054, - "narHash": "sha256-OZiZ3m8SCMfh3B6bfGC/Bm4x3qc1m2SVEAlkV6iY7Yg=", + "lastModified": 1732014248, + "narHash": "sha256-y/MEyuJ5oBWrWAic/14LaIr/u5E0wRVzyYsouYY3W6w=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5e4fbfb6b3de1aa2872b76d49fafc942626e2add", + "rev": "23e89b7da85c3640bbc2173fe04f4bd114342367", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 051c2c2..6b53451 100644 --- a/flake.nix +++ b/flake.nix @@ -9,14 +9,14 @@ packages.x86_64-linux = rec { default = firefox-patched-unwrapped; - firefox-patched-unwrapped = (pkgs.firefox-unwrapped.override (prev: { buildMozillaMach = args: ((prev.buildMozillaMach args).override ({ + firefox-patched-unwrapped = (pkgs.firefox-unwrapped.override { geolocationSupport = false; googleAPISupport = false; drmSupport = false; requireSigning = false; allowAddonSideload = true; - })).overrideAttrs (oldAttrs: rec { + }).overrideAttrs (oldAttrs: rec { patches = oldAttrs.patches ++ [ # I want to preconfigure the search engine settings to make # DuckDuckGo the default search engine and remove most of the @@ -33,7 +33,6 @@ ./allow-debugging.patch ]; }); - })); }; overlay = final: prev: {