summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-03-27 22:46:53 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-03-27 23:05:06 +0200
commit2c19ff18e27a5425155057eaf098d424f1c38766 (patch)
treef2df1ec3615b01ca555381da932acddcafc95167
parent39a46a1f1067ddde0be7e442c821645f5aac45e1 (diff)
downloadguix-2c19ff18e27a5425155057eaf098d424f1c38766.tar.gz
gnu: emacs-direnv: Don't use unstable tarball.
* gnu/packages/emacs-xyz.scm (emacs-direnv)[source]: Download using
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 b2f7b02bb3..cb4c4dd627 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -1370,14 +1370,14 @@ Emacs buffer.")
     (version "1.2.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append
-             "https://github.com/wbolster/emacs-direnv/archive/"
-             version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+              (url "https://github.com/wbolster/emacs-direnv.git")
+              (commit version)))
+       (file-name (git-file-name name version))
        (sha256
         (base32
-         "0m9nxawklhiiysyibzzhh2zkxgq1fskqvaqb06f7r8dnhabfy9fr"))))
+         "172jyl8v4zy9bbha8nndq63x8svn9xqkafkj3q17z289na8iaylh"))))
     (build-system emacs-build-system)
     (propagated-inputs
      `(("dash" ,emacs-dash)