mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 13:10:33 +02:00
import: go: Emit new-style package inputs.
Since PACKAGE-NAMES->PACKAGE-INPUTS is used by both the go and crate
importers, give the crate importer a copy of the original so it
continues to use old-style inputs until it is updated.
* guix/import/utils.scm (package-names->package-inputs)[make-input]:
Return new-style package inputs.
(maybe-inputs): Wrap PACKAGE-INPUTS in 'list' instead of 'quasiquote'.
* guix/import/crate.scm (package-names->package-inputs): New variable.
* tests/go.scm ("go-module->guix-package"): Adjust to new-style package
inputs.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
This commit is contained in:
committed by
Ludovic Courtès
parent
b8af6694b9
commit
af85c38b01
@@ -389,7 +389,7 @@ require github.com/kr/pretty v0.2.1
|
||||
(arguments
|
||||
(list #:import-path "github.com/go-check/check"))
|
||||
(propagated-inputs
|
||||
`(("go-github-com-kr-pretty" ,go-github-com-kr-pretty)))
|
||||
(list go-github-com-kr-pretty))
|
||||
(home-page "https://github.com/go-check/check")
|
||||
(synopsis "Instructions")
|
||||
(description "Package check is a rich testing extension for Go's testing \
|
||||
|
||||
Reference in New Issue
Block a user