Unverified Commit 5cf285a9 authored by Christina Sørensen's avatar Christina Sørensen Committed by GitHub
Browse files

notmuch: fix build with emacs30 (#386738)

parents f0d91fd0 70d23ab6
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
{
  fetchpatch,
  fetchurl,
  lib,
  stdenv,
@@ -67,6 +68,14 @@ stdenv.mkDerivation (finalAttrs: {
    ++ lib.optional withRuby ruby
    ++ lib.optional withSfsexp sfsexp;

  patches = [
    (fetchpatch {
      name = "add-workaround-for-Emacs-30-pp-changes.patch";
      url = "https://git.notmuchmail.org/git?p=notmuch;a=patch;h=e3d4721b1ba4836c7646e057b50123fe994652eb";
      hash = "sha256-phfNSOlTajTmaf+DjtdmBAWSm+2tUbrQEChInUlwn5k=";
    })
  ];

  postPatch =
    ''
      patchShebangs configure test/