summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2019-04-04 20:17:41 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2019-04-10 20:54:01 +0200
commit50c0635a84cc0c824e3418cd4df26e8b281b2835 (patch)
tree3e6da1b428ee161388e987d2e94ebb71d7218646 /gnu
parent95903f296e822ebfac3f9688654ffcb875c52dd2 (diff)
downloadguix-50c0635a84cc0c824e3418cd4df26e8b281b2835.tar.gz
gnu: emacs-flycheck-irony: Use GIT-FILE-NAME.
* gnu/packages/emacs-xyz.scm (emacs-flycheck-irony)[source]: Use GIT-FILE-NAME.
Diffstat (limited to 'gnu')
-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 0ba6965caa..bf7103f4e6 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -2900,9 +2900,9 @@ with irony-mode using clang-tooling.")
               (uri (git-reference
                     (url "https://github.com/Sarcasm/flycheck-irony.git")
                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
-               (base32 "0qa5a8wzvzxwqql92ibc9s43k8sj3vwn7skz9hfr8av0skkhx996"))
-              (file-name (string-append name "-" version))))
+               (base32 "0qa5a8wzvzxwqql92ibc9s43k8sj3vwn7skz9hfr8av0skkhx996"))))
     (build-system emacs-build-system)
     (inputs
      `(("irony-mode" ,emacs-irony-mode)