mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06: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:
parent
02dd2b8552
commit
63b71a5152
1 changed files with 8 additions and 6 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue