hyprpaper: fix build with hyprwayland-scanner-0.4.4

This commit is contained in:
John Titor
2025-01-05 00:01:34 +05:30
parent 7725f90a3d
commit fa75c3e5bf
+10
View File
@@ -2,6 +2,7 @@
lib,
gcc14Stdenv,
fetchFromGitHub,
fetchpatch2,
cmake,
cairo,
expat,
@@ -41,6 +42,15 @@ gcc14Stdenv.mkDerivation (finalAttrs: {
hash = "sha256-IRZ5NrKFwBVueYrZYUQfpTwp2rZHgAkPwgvdnfVBF8E=";
};
patches = [
# FIXME: remove in next release
(fetchpatch2 {
name = "fix-hypr-wayland-scanner-0.4.4-build.patch";
url = "https://github.com/hyprwm/hyprpaper/commit/505e447b6c48e6b49f3aecf5da276f3cc5780054.patch?full_index=1";
hash = "sha256-Vk2P2O4XQiCYqV0KbK/ADe8KPmaTs3Mg7JRJ3cGW9lM=";
})
];
nativeBuildInputs = [
cmake
pkg-config