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