nckx pushed a commit to branch master
in repository guix.

commit 736dfe3568d620d66c7a17e4b93d4b5fc7b64c1d
Author: Tobias Geerinckx-Rice <[email protected]>
Date:   Mon Apr 15 06:12:38 2019 +0200

    gnu: conky: Use GIT-FILE-NAME.
    
    * gnu/packages/conky.scm (conky)[source]: Use GIT-FILE-NAME instead of
    bogus ’[…].tar.gz’ for a directory.
---
 gnu/packages/conky.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/conky.scm b/gnu/packages/conky.scm
index c3b72ea..e38189c 100644
--- a/gnu/packages/conky.scm
+++ b/gnu/packages/conky.scm
@@ -1,6 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2015 Siniša Biđin <[email protected]>
-;;; Copyright © 2018 Tobias Geerinckx-Rice <[email protected]>
+;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <[email protected]>
 ;;; Copyright © 2019 Pierre Neidhardt <[email protected]>
 ;;;
 ;;; This file is part of GNU Guix.
@@ -44,7 +44,7 @@
        (uri (git-reference
              (url home-page)
              (commit (string-append "v" version))))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (file-name (git-file-name name version))
        (sha256
         (base32 "0yalcpwx85smh6nnvxxsgqi344nk7jzlkkam7yjghm87df4v7xmx"))))
     (build-system cmake-build-system)

Reply via email to