diff mbox series

[bug#45859] gnu: genimage: Use GIT-FILE-NAME.

Message ID 20210114125845.30922-1-vincent.legoll@gmail.com
State Accepted
Headers show
Series [bug#45859] gnu: genimage: Use GIT-FILE-NAME. | expand

Checks

Context Check Description
cbaines/submitting builds success
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

Vincent Legoll Jan. 14, 2021, 12:58 p.m. UTC
* gnu/packages/genimage.scm (origin): Use GIT-FILE-NAME.
---
 gnu/packages/genimage.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Mathieu Othacehe Jan. 22, 2021, 9:12 a.m. UTC | #1
> * gnu/packages/genimage.scm (origin): Use GIT-FILE-NAME.

Pushed, thanks!

Mathieu
diff mbox series

Patch

diff --git a/gnu/packages/genimage.scm b/gnu/packages/genimage.scm
index c9ed6258a0..bd77e4dc33 100644
--- a/gnu/packages/genimage.scm
+++ b/gnu/packages/genimage.scm
@@ -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 @@ 
               (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"))