summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-04-04 20:26:07 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2019-04-10 20:54:01 +0200
commitd9eaecf2efcfa0dfda5ff31536b111b8e1fa0d29 (patch)
tree3bd3a94fa6225fd03ca96e05541173ab75d2755b
parent976d475a44a33d6bc361109e79b23c3ee8c81a0a (diff)
downloadguix-d9eaecf2efcfa0dfda5ff31536b111b8e1fa0d29.tar.gz
gnu: emacs-typo: Use GIT-FILE-NAME.
* gnu/packages/emacs-xyz.scm (emacs-typo)[source]: Use GIT-FILE-NAME.
-rw-r--r--gnu/packages/emacs-xyz.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 71549c8ce1..96b19bca62 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2990,10 +2990,10 @@ simultaneous cursors.")
               (uri (git-reference
                     (url home-page)
                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2"))
-              (file-name (string-append name "-" version))))
+                "1jhd4grch5iz12gyxwfbsgh4dmz5hj4bg4gnvphccg8dsnni05k2"))))
     (build-system emacs-build-system)
     (synopsis "Minor mode for typographic editing")
     (description