From 36ecc88a08f29e87ae13eb187f18c23a699a1e32 Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sat, 2 Nov 2024 10:48:40 +0800 Subject: [PATCH] greybird: Fix label styles for xfdesktop 4.19 Otherwise labels are not transparent when other window is focused. --- pkgs/by-name/gr/greybird/package.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/by-name/gr/greybird/package.nix b/pkgs/by-name/gr/greybird/package.nix index 0462a28d34fb..e78d49eff4de 100644 --- a/pkgs/by-name/gr/greybird/package.nix +++ b/pkgs/by-name/gr/greybird/package.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , meson , ninja , pkg-config @@ -22,6 +23,15 @@ stdenv.mkDerivation rec { sha256 = "+MZQ3FThuRFEfoARsF09B7POwytS5RgTs9zYzIHVtfg="; }; + patches = [ + # Fix label styles for xfdesktop 4.19 + # https://github.com/shimmerproject/Greybird/pull/338 + (fetchpatch { + url = "https://github.com/shimmerproject/Greybird/commit/7e4507d7713b2aaf41f8cfef2a1a9e214a4d8b6f.patch"; + hash = "sha256-awXM2RgFIK/Ik5cJSy4IQYl+ic+XGQV0YwbL3SPclzQ="; + }) + ]; + nativeBuildInputs = [ meson ninja