Commit 0bfa8809 authored by Guillaume Girol's avatar Guillaume Girol
Browse files

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
parent 1e099660
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
{
  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