gnu: genimage: Use GIT-FILE-NAME.

* gnu/packages/genimage.scm (origin): Use GIT-FILE-NAME.

Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
This commit is contained in:
Vincent Legoll 2021-01-14 13:58:45 +01:00 committed by Mathieu Othacehe
parent 02e5c95db9
commit 7c424b3831
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -1,5 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2018 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2021 Vincent Legoll <vincent.legoll@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -47,7 +48,7 @@ (define-public genimage
(uri (git-reference
(url "https://github.com/pengutronix/genimage")
(commit (string-append "v" version))))
(file-name (string-append name "-" version "-checkout"))
(file-name (git-file-name name version))
(sha256
(base32
"15jmh17lvm3jw9c92bjarly7iwhmnfl322d91mprfv10ppb9ip54"))