summary refs log tree commit diff
path: root/gnu/packages/rust.scm
diff options
context:
space:
mode:
authorSarah Morgensen <iskarian@mgsn.dev>2021-07-20 19:59:21 -0700
committerLudovic Courtès <ludo@gnu.org>2024-08-31 10:44:36 +0200
commitaf85c38b017be3d932d4665acd9ff4b5c56a9790 (patch)
tree09e96a6492b9314f8ee5b9bbe1bd8147411c310a /gnu/packages/rust.scm
parentb8af6694b9bbea96e8b0d1c9aea64b7f8e690812 (diff)
downloadguix-af85c38b017be3d932d4665acd9ff4b5c56a9790.tar.gz
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 'gnu/packages/rust.scm')
0 files changed, 0 insertions, 0 deletions