From fd80879e01fa8dc9ef4cc342d6ebea1dc61d7fd8 Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Mon, 4 Sep 2023 16:02:37 +0200 Subject: [PATCH] herbstluftwm: fix tests with recent X versions --- pkgs/applications/window-managers/herbstluftwm/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/applications/window-managers/herbstluftwm/default.nix b/pkgs/applications/window-managers/herbstluftwm/default.nix index 7bfe0f992746..e7cde84375ec 100644 --- a/pkgs/applications/window-managers/herbstluftwm/default.nix +++ b/pkgs/applications/window-managers/herbstluftwm/default.nix @@ -51,6 +51,13 @@ stdenv.mkDerivation rec { url = "https://github.com/herbstluftwm/herbstluftwm/commit/8678168c7a3307b1271e94974e062799e745ab40.patch"; hash = "sha256-uI6ErfDitT2Tw0txx4lMSBn/jjiiyL4Qw6AJa/CTh1E="; }) + # Fix tests with recent Xorg, can be removed with the next release (<0.9.5) + # Details here: https://github.com/herbstluftwm/herbstluftwm/issues/1560 + (fetchpatch { + url = "https://github.com/herbstluftwm/herbstluftwm/commit/1a6e8ee24eac671569f54bfec22ab47ff285a52c.patch"; + hash = "sha256-srulWJQ9zTR4Kdxo40AdHND4nexDe2PDSR69yWsOpVA="; + }) + ]; postPatch = ''