From f796d89fa0a7850b98720bfa309df386f0a21e95 Mon Sep 17 00:00:00 2001 From: pancho horrillo Date: Fri, 5 Jun 2026 22:52:46 +0200 Subject: [PATCH] emacs: fix changelog URL for mainline MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Point URL to savannah’s cgit, the canonical source. - Select tag instead of release branch, which is more precise. Compare the differences: bad (branch, intermediate state pre-30.3): https://www.gnu.org/savannah-checkouts/gnu/emacs/news/NEWS.30.2 good (tag, precisely the state we are shipping): https://cgit.git.savannah.gnu.org/cgit/emacs.git/plain/etc/NEWS?h=emacs-30.2 --- pkgs/applications/editors/emacs/sources.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/emacs/sources.nix b/pkgs/applications/editors/emacs/sources.nix index fb9d9697cd85..750a9a44e528 100644 --- a/pkgs/applications/editors/emacs/sources.nix +++ b/pkgs/applications/editors/emacs/sources.nix @@ -74,7 +74,7 @@ let ''; changelog = { - "mainline" = "https://www.gnu.org/savannah-checkouts/gnu/emacs/news/NEWS.${version}"; + "mainline" = "https://cgit.git.savannah.gnu.org/cgit/emacs.git/plain/etc/NEWS?h=${rev}"; "macport" = "https://github.com/jdtsmith/emacs-mac/blob/${rev}/NEWS-mac"; } .${variant};