diff --git a/pkgs/applications/editors/emacs/28.nix b/pkgs/applications/editors/emacs/28.nix index e66917ab93f0e..948fa52c0797d 100644 --- a/pkgs/applications/editors/emacs/28.nix +++ b/pkgs/applications/editors/emacs/28.nix @@ -1,5 +1,5 @@ import ./generic.nix (rec { version = "28.1"; - sha256 = "sha256-KLGz0JkDegiPCkyiUdfnJi6rXqFneqv/psRCaWGtdeE="; + sha256 = "sha256-D33wnlxhx0LyG9WZaQDj2II3tG0HcJdZTC4dSA3lrgY="; patches = _: [ ]; }) diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 637f5b543cb69..b1c8a8d6cc9bf 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -13,6 +13,7 @@ , sigtool, jansson, harfbuzz, sqlite, nixosTests , dontRecurseIntoAttrs, emacsPackagesFor , libgccjit, targetPlatform, makeWrapper # native-comp params +, fetchFromSavannah , systemd ? null , withX ? !stdenv.isDarwin , withNS ? stdenv.isDarwin @@ -23,7 +24,7 @@ , withSQLite3 ? false , withCsrc ? true , withWebP ? false -, srcRepo ? false, autoreconfHook ? null, texinfo ? null +, srcRepo ? true, autoreconfHook ? null, texinfo ? null , siteStart ? ./site-start.el , nativeComp ? false , withAthena ? false @@ -59,8 +60,9 @@ let emacs = stdenv.mkDerivation (lib.optionalAttrs nativeComp { patches = patches fetchpatch; - src = fetchurl { - url = "mirror://gnu/emacs/${name}.tar.xz"; + src = fetchFromSavannah { + repo = "emacs"; + rev = version; inherit sha256; };