summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-01-23 10:35:29 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-01-23 10:51:21 +0200
commitf5350a07dc1556a8d8e06dc0e316bd8d0f5bc6fa (patch)
tree8a5a45892a4bcf53fc992a432bfc321cf9c384f0
parent0c662875b9c220f81b734daa9a78c4cae2ea7b52 (diff)
downloadguix-f5350a07dc1556a8d8e06dc0e316bd8d0f5bc6fa.tar.gz
gnu: emacs-haskell-mode: Don't use unstable tarball.
* gnu/packages/emacs-xyz.scm (emacs-haskell-mode)[source]: Use 'git-fetch'.
-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 12d8137076..2897099d0f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -535,13 +535,13 @@ for editing Racket's Scribble documentation syntax in Emacs.")
     (name "emacs-haskell-mode")
     (version "16.1")
     (source (origin
-              (method url-fetch)
-              (file-name (string-append name "-" version ".tar.gz"))
-              (uri (string-append
-                    "https://github.com/haskell/haskell-mode/archive/v"
-                    version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/haskell/haskell-mode")
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
-               (base32 "0g6lcjw7lcgavv3yrd8xjcyqgfyjl787y32r1z14amw2f009m78h"))
+               (base32 "1qk36y0v9fzass6785il65c6wb5cfj4ihhwkvgnzmbafpa8p4dvq"))
               (patches
                (search-patches ; backport test failure fixes
                 "haskell-mode-unused-variables.patch"