bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47537: specification->package does not seem to support outputs


From: Leo Prikler
Subject: bug#47537: specification->package does not seem to support outputs
Date: Thu, 01 Apr 2021 12:19:03 +0200
User-agent: Evolution 3.34.2

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 via email to

[Prev in Thread] Current Thread [Next in Thread]