From 0bfa880935d9b43aa12dbb155debb07412c56a08 Mon Sep 17 00:00:00 2001 From: Guillaume Girol Date: Sat, 1 Nov 2025 12:00:00 +0000 Subject: [PATCH] evolution: fix crash when opening attachments https://gitlab.gnome.org/GNOME/evolution/-/issues/3124 it's fixed in a later released version of evolution that we should get in https://github.com/NixOS/nixpkgs/pull/440720 --- .../mailreaders/evolution/evolution/default.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/applications/networking/mailreaders/evolution/evolution/default.nix b/pkgs/applications/networking/mailreaders/evolution/evolution/default.nix index 6213da291bd8..f02a9d700bf0 100644 --- a/pkgs/applications/networking/mailreaders/evolution/evolution/default.nix +++ b/pkgs/applications/networking/mailreaders/evolution/evolution/default.nix @@ -1,6 +1,7 @@ { lib, stdenv, + fetchpatch, cmake, ninja, intltool, @@ -53,6 +54,16 @@ stdenv.mkDerivation rec { hash = "sha256-ff3JrrLasybav9wfhXfE7MEjoS2gAS+MZKcmBlo8Cys="; }; + patches = [ + # fix crash when opening attachment with recent webkitgtk versions + # https://gitlab.gnome.org/GNOME/evolution/-/issues/3124 + # remove when updating to 3.58.0 + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/evolution/-/commit/811a6df1f990855e49ecc0ba7b1a7f7a5ec251e6.patch"; + hash = "sha256-Aj8H7PnAblInX2zRPQH7n0HOdLNuhITNHunWRYCPBsI="; + }) + ]; + nativeBuildInputs = [ cmake intltool