From db3c2922ab7e048b9983535e1acbe7200af07e81 Mon Sep 17 00:00:00 2001 From: PerchunPak Date: Fri, 3 Jan 2025 16:07:03 +0100 Subject: [PATCH] hyprlandPlugins.hyprfocus: fix build --- .../hyprwm/hyprland-plugins/hyprfocus.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprfocus.nix b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprfocus.nix index a3f80eb83607..befba9e11a3d 100644 --- a/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprfocus.nix +++ b/pkgs/applications/window-managers/hyprwm/hyprland-plugins/hyprfocus.nix @@ -3,12 +3,13 @@ mkHyprlandPlugin, hyprland, fetchFromGitHub, + fetchpatch2, nix-update-script, }: mkHyprlandPlugin hyprland { pluginName = "hyprfocus"; - version = "0-unstable-2024-10-09"; + version = "0-unstable-2024-11-09"; src = fetchFromGitHub { owner = "pyt0xic"; @@ -17,6 +18,13 @@ mkHyprlandPlugin hyprland { hash = "sha256-qIl7opF7fA1ZmC91TGQ7D12tB7kHc6Sn9DrfUN6sbBY="; }; + patches = [ + (fetchpatch2 { + url = "https://github.com/pyt0xic/hyprfocus/commit/e7d9ee3c470b194fe16179ff2f16fc4233e928ef.patch"; + hash = "sha256-iETrtvoIZfcaD3TcKIIwFL8Rua0dFEqboml9AgQ/RZ0="; + }) + ]; + installPhase = '' runHook preInstall