mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
guix: import: go: Sort inputs alphabetically.
* guix/import/go.scm: (go-module->guix-package): Sort propagated-inputs alphabetically. Change-Id: Ie21e7a819ba706c63f16ebf407ae0461780fa2d1 Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
This commit is contained in:
committed by
Sharlatan Hellseher
parent
02dd2b8552
commit
63b71a5152
@@ -688,12 +688,14 @@ When VERSION is unspecified, the latest version available is used."
|
||||
'()
|
||||
`(#:unpack-path ,root-module-path))))
|
||||
,@(maybe-propagated-inputs
|
||||
(map (match-lambda
|
||||
((name version)
|
||||
(go-module->guix-package-name name (strip-v-prefix version)))
|
||||
(name
|
||||
(go-module->guix-package-name name)))
|
||||
dependencies))
|
||||
(sort!
|
||||
(map (match-lambda
|
||||
((name version)
|
||||
(go-module->guix-package-name name (strip-v-prefix version)))
|
||||
(name
|
||||
(go-module->guix-package-name name)))
|
||||
dependencies)
|
||||
string<?))
|
||||
(home-page ,(format #f "https://~a" root-module-path))
|
||||
(synopsis ,synopsis)
|
||||
(description ,(and=> description beautify-description))
|
||||
|
||||
Reference in New Issue
Block a user