summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2018-12-27 15:18:37 +0200
committerEfraim Flashner <efraim@flashner.co.il>2018-12-27 15:34:02 +0200
commitb130354999bf37ae5f155dbea1a9c57a0861b707 (patch)
treecc6f4d74ba6c5897a16535dd5e27fa8fc8d3f7b2 /gnu/packages
parent3d6bc5af91b522a81e3b157b1dfefa66d9e7adf8 (diff)
downloadguix-b130354999bf37ae5f155dbea1a9c57a0861b707.tar.gz
gnu: vim: Don't use unstable tarball.
* gnu/packages/vim.scm (vim)[source]: Use 'git-fetch'.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/vim.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 5d782ba3db..a5f03aad40 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -63,13 +63,14 @@
     (name "vim")
     (version "8.1.0551")
     (source (origin
-             (method url-fetch)
-             (uri (string-append "https://github.com/vim/vim/archive/v"
-                                 version ".tar.gz"))
-             (file-name (string-append name "-" version ".tar.gz"))
+             (method git-fetch)
+             (uri (git-reference
+                    (url "https://github.com/vim/vim")
+                    (commit (string-append "v" version))))
+             (file-name (git-file-name name version))
              (sha256
               (base32
-               "1wi6j9w04wg3hxsch3izl2mxb0065vpvxscz19zjn5ypkfypnm8n"))))
+               "1db5ihzj9flz62alb3kd1w173chb5vbni325abqjf25aly7c22n0"))))
     (build-system gnu-build-system)
     (arguments
      `(#:test-target "test"