From b115e9f6bb6a3f23f3fab2eb0877ebcb7d33d5cd Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Thu, 29 Jul 2021 19:09:30 +0200 Subject: [PATCH] Add notification tab switch patch to qutebrowser --- flake.lock | 6 +++--- modules/graphical/qutebrowser/default.nix | 12 ++++++++++++ 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 98afe6d7..6aea5c0a 100644 --- a/flake.lock +++ b/flake.lock @@ -77,11 +77,11 @@ ] }, "locked": { - "lastModified": 1627501942, - "narHash": "sha256-rG2PUTgzmXvf/fSDCWKhlRwZjZs1/0TySC5eYHVJrmg=", + "lastModified": 1627567481, + "narHash": "sha256-TEb7VEDruimeDe0h8PKpTGbXrFhgvPx3gqu3yjNJHyQ=", "owner": "nix-community", "repo": "home-manager", - "rev": "2272fc312d5dc477e70816d94e550d08729b307b", + "rev": "5f6364fc28065d6b26423512e14207ce0bffb27a", "type": "github" }, "original": { diff --git a/modules/graphical/qutebrowser/default.nix b/modules/graphical/qutebrowser/default.nix index 4a19b46c..154e79cc 100644 --- a/modules/graphical/qutebrowser/default.nix +++ b/modules/graphical/qutebrowser/default.nix @@ -7,6 +7,18 @@ }; config = lib.mkIf config.chvp.graphical.qutebrowser.enable { + nixpkgs.overlays = [ + (self: super: { + qutebrowser = super.qutebrowser.overrideAttrs (old: { + patches = (old.patches or [ ]) ++ [ + (self.fetchpatch { + url = "https://github.com/qutebrowser/qutebrowser/pull/6626.patch"; + sha256 = "pBMyXGizVJfhPK8i1q38g2HFupeP/4GrR9THwYRxAmk="; + }) + ]; + }); + }) + ]; chvp.base.zfs.homeLinks = [ { path = ".config/qutebrowser"; type = "data"; } { path = ".local/share/qutebrowser"; type = "cache"; }