notmuch: fix build with emacs30

This commit is contained in:
Fabian Möller
2025-03-03 14:19:39 +01:00
parent 95eacfb6d1
commit 70d23ab667
@@ -1,4 +1,5 @@
{
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/