hyprpicker: fix build with hyprwayland-scanner-0.4.4
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
fetchpatch2,
|
||||
nix-update-script,
|
||||
pkg-config,
|
||||
cmake,
|
||||
@@ -29,6 +30,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-gu26MSYbTlRLMUpZ9PeYXtqqhzPDQXxEDkjiJgwzIIc=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
# FIXME: remove in next release
|
||||
(fetchpatch2 {
|
||||
name = "fix-hypr-wayland-scanner-0.4.4-build.patch";
|
||||
url = "https://github.com/hyprwm/hyprpicker/commit/444c40e5e3dc4058a6a762ba5e73ada6d6469055.patch?full_index=1";
|
||||
hash = "sha256-tg+oCUHtQkOXDrUY1w1x8zWWO1v4YV8ZxQKuSWuX/AI=";
|
||||
})
|
||||
];
|
||||
|
||||
cmakeBuildType = if debug then "Debug" else "Release";
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
||||
Reference in New Issue
Block a user