diff --git a/pkgs/applications/editors/emacs/sources.nix b/pkgs/applications/editors/emacs/sources.nix index 080e02997ab0..91e33d256820 100644 --- a/pkgs/applications/editors/emacs/sources.nix +++ b/pkgs/applications/editors/emacs/sources.nix @@ -111,6 +111,13 @@ in variant = "mainline"; rev = "emacs-31.0.91"; hash = "sha256-3nvCiLiEtII1C57CLfDIbVqhiwadYViF9Nv32yDtLIQ="; + patches = fetchpatch: [ + (fetchpatch { + name = "nullify-read-symbol-shorthands-around-risky-intern-calls-80574.patch"; + url = "https://cgit.git.savannah.gnu.org/cgit/emacs.git/patch/?id=8466eb44991707d128110bdc549fad14c8e1d61e"; + hash = "sha256-SyRCay2MahCJovtzBHA9M1H9hXhtD5IG3ZFSEUwaWlg="; + }) + ]; }); emacs30 = import ./make-emacs.nix (mkArgs {