Subject: Re: specification->package does not seem to support outputs

From: Leo Prikler <[email-masked]>
Date: Thu, 01 Apr 2021 12:19:03 +0200

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