weston: fix assertion error on weston 15.0 (#498269)

This commit is contained in:
Alyssa Ross
2026-03-10 06:26:45 +00:00
committed by GitHub
+10
View File
@@ -2,6 +2,7 @@
lib,
stdenv,
fetchFromGitLab,
fetchpatch, # Added for applying patch
meson,
ninja,
nix-update-script,
@@ -65,6 +66,15 @@ stdenv.mkDerivation (finalAttrs: {
hash = "sha256-7FbQkXazsf6FkkNbE+Q6ilKACFa/CoOL2Q1oXHuaVX8=";
};
# Backport for https://gitlab.freedesktop.org/wayland/weston/-/issues/1100
patches = [
(fetchpatch {
name = "weston-upstream-assertion-fix.patch";
url = "https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/1993.patch";
hash = "sha256-705GIM7drTzv0N5Hk5dO18LWBnhhi1VoX8sfITHRYc4=";
})
];
depsBuildBuild = [ pkg-config ];
nativeBuildInputs = [
meson