unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo Prikler <leo.prikler@student.tugraz.at>
To: fsdfsdfsd3 <fsdfsdfsd3@protonmail.com>, 47537@debbugs.gnu.org
Subject: bug#47537: specification->package does not seem to support outputs
Date: Thu, 01 Apr 2021 12:19:03 +0200	[thread overview]
Message-ID: <c114f2b7b9a6acfa1b37390488ecc2b0089be340.camel@student.tugraz.at> (raw)
In-Reply-To: <2D4cPuIPCu0T9VFO7m3XPX4PEvS5BvunxLytmBfJcec6KNPURmLC50fe6PS4ObwSgS7XKOHnR0K17HFKZZlIcLNVQxaoS9O-ffDt1uLbXcY=@protonmail.com>

Hello,

Am Donnerstag, den 01.04.2021, 03:50 +0000 schrieb fsdfsdfsd3:
> Hello,
> 
> An example of this behavior in a guile repl is:
> 
> (use-modules (gnu packages))
> (specification->package "qemu")  ; works
> (specification->package "qemu:doc")  ; errors and closes the repl
Given its docstring, that's to be expected:

    Return a package matching SPEC.  SPEC may be a package name, or a
    package name followed by an at-sign and a version number.  If the 
    version number is not present, return the preferred newest version.

> (specification->package+output "qemu:doc") ; works as expected
In other words, use specification->package+output ;)

Regards,
Leo





  reply	other threads:[~2021-04-01 10:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <878s6140my.fsf@gnu.org>
2021-04-01  3:50 ` bug#47537: specification->package does not seem to support outputs fsdfsdfsd3 via Bug reports for GNU Guix
2021-04-01 10:19   ` Leo Prikler [this message]
     [not found]   ` <handler.47537.C.16173477896378.notifdonectrl.0@debbugs.gnu.org>
2021-04-14  4:06     ` bug#47537: acknowledged by developer (control message for bug #47537) fsdfsdfsd3 via Bug reports for GNU Guix

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=c114f2b7b9a6acfa1b37390488ecc2b0089be340.camel@student.tugraz.at \
    --to=leo.prikler@student.tugraz.at \
    --cc=47537@debbugs.gnu.org \
    --cc=fsdfsdfsd3@protonmail.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).