From: Lulu <me@erkin.party>
To: zimoun <zimon.toutoune@gmail.com>
Cc: "31302@debbugs.gnu.org" <31302@debbugs.gnu.org>
Subject: bug#31302: `guix import json` doesn't handle inputs with the form 'package:output'
Date: Sun, 25 Oct 2020 20:12:32 +0300 (TRT) [thread overview]
Message-ID: <1141589329.67315.1603645952789@office.mailbox.org> (raw)
In-Reply-To: <86wnzr24mc.fsf@gmail.com>
The version hash of Guix I tried this on was `26f6bd0403ed20c1d26eca9d4f28a0da519a56ac'.
I used the example JSON file for the `hello' package provided in
"(guix)Invoking guix import". Then, based on the given example of glib, I tried
running `guix import json' with `glib', `glib:bin', `glib:doc', `glib:out'
separately appended to the `native-inputs' array of `hello.json', in order. It
produced an appropriate SXML structure in the `native-inputs` field each time:
("glib" (@ (gnu packages glib) glib-with-documentation))
for standalone `glib' and
("glib" (@ (gnu packages glib) glib-with-documentation) "bin")
for the rest, which appears to fit the package definition syntax.
When I tried with `glib:foo', where `foo' is an erroneous output, it yielded the
following error:
guix import: error: package `glib@2.62.6' lacks output `foo'.
So, it seems like this bug was fixed somewhere along the line.
--
Lulu
next prev parent reply other threads:[~2020-10-26 8:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-28 16:28 bug#31302: `guix import json` doesn't handle inputs with the form 'package:output' pkill9
2020-10-14 6:12 ` Lulu
2020-10-15 9:57 ` zimoun
2020-10-25 17:12 ` Lulu [this message]
2020-10-26 14:16 ` zimoun
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1141589329.67315.1603645952789@office.mailbox.org \
--to=me@erkin.party \
--cc=31302@debbugs.gnu.org \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).