Unverified Commit 82cea119 authored by Bobby Rong's avatar Bobby Rong Committed by GitHub
Browse files

gnome.geary: Fix build with Vala 0.56.7 & 0.57+

parent 7e5a4795
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchurl
, fetchpatch2
, pkg-config
, gtk3
, vala
@@ -54,6 +55,19 @@ stdenv.mkDerivation rec {
    sha256 = "SJFm+H3Z0pAR9eW3lpTyWItHP34ZHFnOkBPIyODjY+c=";
  };

  patches = [
    # Fix build with Vala 0.56.7 & 0.57+
    # https://hydra.nixos.org/build/217892787
    (fetchpatch2 {
      url = "https://gitlab.gnome.org/GNOME/geary/-/commit/4a7ca820b1d3d6130fedf254dc5b4cd7efb58f2c.patch";
      sha256 = "L63TMOkxTYu8jxX+IIc9owoa1TBmaeGXgW+8gfMtFw4=";
    })
    (fetchpatch2 {
      url = "https://gitlab.gnome.org/GNOME/geary/-/commit/10f9c133a2ad515127d65f3bba13a0d91b75f4af.patch";
      sha256 = "0yohy+FZyHW4MkImLQYNlcZyMekH7mXvO2yEuAm3fXw=";
    })
  ];

  nativeBuildInputs = [
    appstream-glib
    desktop-file-utils