summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-03-27 22:30:27 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-03-27 23:05:02 +0200
commit3cf9a85ba7c1ae5d2ef6f8b05972262f7a620cf3 (patch)
treeb30e487da36d9d6ce3f59cf53421f88bea9f4f9f /gnu
parentc6abe9047830e905bd748eec4b7ee45d71b8244d (diff)
downloadguix-3cf9a85ba7c1ae5d2ef6f8b05972262f7a620cf3.tar.gz
gnu: emacs-ag: Don't use unstable tarball.
* gnu/packages/emacs-xyz.scm (emacs-ag)[source]: Download using
git-fetch.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/emacs-xyz.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 7dd3c079b2..439bd58d6b 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1186,14 +1186,14 @@ than @code{electric-indent-mode}.")
     (name "emacs-ag")
     (version "0.47")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/Wilfred/ag.el/archive/"
-                    version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/Wilfred/ag.el.git")
+                     (commit version)))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1rlmp6wnyhqfg86dbz17r914msp58favn4kd4yrdwyia265a4lar"))))
+                "15kp99vwyi7hb1jkq3lwvqzw3v62ycixsq6y4pd1x0nn2v5p5m5r"))))
     (build-system emacs-build-system)
     (arguments
      `(#:phases