diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-06-30 16:00:37 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-07-11 00:49:16 +0200 |
commit | ff992fcfaf8455910b4bb5e02861fe9ae3dfd974 (patch) | |
tree | 798469901f98196307940907845d814589c2553f /tests | |
parent | aa6921634b4ea9988af0e37bfbb56780c431ef64 (diff) | |
download | guix-ff992fcfaf8455910b4bb5e02861fe9ae3dfd974.tar.gz guix-ff992fcfaf8455910b4bb5e02861fe9ae3dfd974.zip |
import: print: Emit new-style package inputs when possible.
* guix/import/print.scm (redundant-input-labels?): New procedure.
(package->code)[package-lists->code]: Rename to...
[inputs->code]: ... this. When 'redundant-input-labels?' returns true,
emit label-less inputs. Adjust callers to new name.
* tests/print.scm (pkg-with-inputs): Adjust accordingly.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/print.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/print.scm b/tests/print.scm index 3386590d3a..1b24e12f2e 100644 --- a/tests/print.scm +++ b/tests/print.scm @@ -60,8 +60,8 @@ (base32 "070pwb7brdcn1mfvplkd56vjc7lbz4iznzkqvfsakvgbv68k71ah")))) (build-system (@ (guix build-system gnu) gnu-build-system)) - (inputs `(("coreutils" ,(@ (gnu packages base) coreutils)) - ("glibc" ,(@ (gnu packages base) glibc) "debug"))) + (inputs (list (@ (gnu packages base) coreutils) + `(,(@ (gnu packages base) glibc) "debug"))) (home-page "http://gnu.org") (synopsis "Dummy") (description "This is a dummy package.") |