diff --git a/pkgs/applications/editors/emacs/elisp-packages/update-melpa.el b/pkgs/applications/editors/emacs/elisp-packages/update-melpa.el index 9cb6456cd6f9..97343135ef0e 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/update-melpa.el +++ b/pkgs/applications/editors/emacs/elisp-packages/update-melpa.el @@ -101,7 +101,7 @@ return Promise to resolve in that process." ("gitlab" (list "nix-prefetch-url" "--unpack" (concat "https://gitlab.com/api/v4/projects/" (url-hexify-string repo) - "/repository/archive.tar.gz?ref=" + "/repository/archive.tar.gz?sha=" commit))) ("sourcehut" (list "nix-prefetch-url" "--unpack" (concat "https://git.sr.ht/~" repo "/archive/" commit ".tar.gz")))