diff options
author | Bobby Rong <rjl931189261@126.com> | 2023-03-17 21:46:25 +0800 |
---|---|---|
committer | Bobby Rong <rjl931189261@126.com> | 2023-03-17 21:46:25 +0800 |
commit | 756cdf80899120217ad5c702b42ac1de67618fb1 (patch) | |
tree | ea011a5ddf69cea5652d83de9c0d76ba265afcb8 /pkgs/desktops/pantheon | |
parent | d88ec152cfd6f2a3c6ca74fbef6f5c18a4484f17 (diff) |
pantheon.elementary-mail: Backport crash fix for empty mime
Diffstat (limited to 'pkgs/desktops/pantheon')
-rw-r--r-- | pkgs/desktops/pantheon/apps/elementary-mail/default.nix | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/apps/elementary-mail/default.nix b/pkgs/desktops/pantheon/apps/elementary-mail/default.nix index ddbfdbef5be19..a9a98ad8e6f50 100644 --- a/pkgs/desktops/pantheon/apps/elementary-mail/default.nix +++ b/pkgs/desktops/pantheon/apps/elementary-mail/default.nix @@ -1,6 +1,7 @@ { 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 |