diff options
author | Sarah Morgensen <iskarian@mgsn.dev> | 2021-07-20 19:59:21 -0700 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-08-31 10:44:36 +0200 |
commit | af85c38b017be3d932d4665acd9ff4b5c56a9790 (patch) | |
tree | 09e96a6492b9314f8ee5b9bbe1bd8147411c310a /tests | |
parent | b8af6694b9bbea96e8b0d1c9aea64b7f8e690812 (diff) | |
download | guix-af85c38b017be3d932d4665acd9ff4b5c56a9790.tar.gz guix-af85c38b017be3d932d4665acd9ff4b5c56a9790.zip |
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>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/go.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/go.scm b/tests/go.scm index d2e8846b30..f925c485c1 100644 --- a/tests/go.scm +++ b/tests/go.scm @@ -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 \ |