Unverified Commit 756cdf80 authored by Bobby Rong's avatar Bobby Rong
Browse files

pantheon.elementary-mail: Backport crash fix for empty mime

parent d88ec152
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchpatch
, nix-update-script
, pkg-config
, meson
@@ -30,6 +31,15 @@ stdenv.mkDerivation rec {
    sha256 = "sha256-IY+ml/ftLSk0A3Emi0ZL2wxIDIngNU6QKbHErRAaaMA=";
  };

  patches = [
    # MessageListItem: avoid crashing on empty Mime
    # https://github.com/elementary/mail/pull/828
    (fetchpatch {
      url = "https://github.com/elementary/mail/commit/7cb412dee4cc8c0bfab55057c47d5ecce6918788.patch";
      sha256 = "sha256-7rYvgFeVmV/rVYzC/xt/lioRlveM0d8ORqZdMYkm/d4=";
    })
  ];

  nativeBuildInputs = [
    libxml2
    meson