aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)