unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* The art of guessing a packaged downgrade version of a package
@ 2016-01-01 20:35 swedebugia
  2016-01-01 21:09 ` Leo Famulari
  2016-01-02 20:51 ` Ludovic Courtès
  0 siblings, 2 replies; 4+ messages in thread
From: swedebugia @ 2016-01-01 20:35 UTC (permalink / raw)
  To: guix-devel

(trying to get gnupg to work knowing that ludo runs some 2.0 version)
~/src/guix$ guix package -i gnupg:2.0.0 -r gnupg
guix package: error: package `gnupg-2.1.10' lacks output `2.0.0'

I would like to improve this command by making it either show me the 
valid outputs (and optionally choosing one of them to install) for this 
specific package OR hint me about running:
guix package --show=gnupg
~$ guix package --show=gnupg
name: gnupg
version: 2.1.10
outputs: out
...

name: gnupg
version: 2.0.29
outputs: out
...

name: gnupg
version: 1.4.20
outputs: out

to get the information I need.

I found the relevant code in:
../gnu/packages.scm:381:        (leave (_ "package `~a' lacks output 
`~a'~%")

To be able myself to improve this snippet I would have to learn a lot 
more Guile first. :p

Anybody care to help?

swedebugia

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-01-02 20:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-01 20:35 The art of guessing a packaged downgrade version of a package swedebugia
2016-01-01 21:09 ` Leo Famulari
2016-01-02 16:41   ` swedebugia
2016-01-02 20:51 ` Ludovic Courtès

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).