diff --git a/pkgs/applications/editors/emacs/default.nix b/pkgs/applications/editors/emacs/default.nix index 295579c7c085..fce218118a52 100644 --- a/pkgs/applications/editors/emacs/default.nix +++ b/pkgs/applications/editors/emacs/default.nix @@ -13,7 +13,7 @@ lib.makeScope pkgs.newScope ( inherit lib; inherit (pkgs) fetchFromGitHub - fetchzip + fetchgit ; }; @@ -31,11 +31,6 @@ lib.makeScope pkgs.newScope ( withPgtk = true; }; - emacs30-macport = callPackage (self.sources.emacs30-macport) ( - inheritedArgs - // { - srcRepo = true; - } - ); + emacs30-macport = callPackage (self.sources.emacs30-macport) inheritedArgs; } ) diff --git a/pkgs/applications/editors/emacs/make-emacs.nix b/pkgs/applications/editors/emacs/make-emacs.nix index 8a39e96f900e..62c411aa1440 100644 --- a/pkgs/applications/editors/emacs/make-emacs.nix +++ b/pkgs/applications/editors/emacs/make-emacs.nix @@ -66,7 +66,7 @@ # Boolean flags withNativeCompilation ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, noGui ? false, - srcRepo ? false, + srcRepo ? true, withAcl ? false, withAlsaLib ? false, withAthena ? false, diff --git a/pkgs/applications/editors/emacs/sources.nix b/pkgs/applications/editors/emacs/sources.nix index 750a9a44e528..663394e6a5ba 100644 --- a/pkgs/applications/editors/emacs/sources.nix +++ b/pkgs/applications/editors/emacs/sources.nix @@ -1,7 +1,7 @@ { lib, fetchFromGitHub, - fetchzip, + fetchgit, }: let @@ -26,9 +26,9 @@ let src = { "mainline" = ( - fetchzip { - url = "mirror://gnu/emacs/${rev}.tar.xz"; - inherit hash; + fetchgit { + url = "https://https.git.savannah.gnu.org/git/emacs.git"; + inherit rev hash; } ); "macport" = (