Unverified Commit f6632d9f authored by Alyssa Ross's avatar Alyssa Ross Committed by GitHub
Browse files

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

parents 53919c07 010841e4
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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