unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: swedebugia@riseup.net
To: guix-devel <guix-devel@gnu.org>
Subject: The art of guessing a packaged downgrade version of a package
Date: Fri, 01 Jan 2016 21:35:40 +0100	[thread overview]
Message-ID: <22bcae0b31e189110555fdff8dfc948a@riseup.net> (raw)

(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

             reply	other threads:[~2016-01-01 20:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-01 20:35 swedebugia [this message]
2016-01-01 21:09 ` The art of guessing a packaged downgrade version of a package Leo Famulari
2016-01-02 16:41   ` swedebugia
2016-01-02 20:51 ` Ludovic Courtès

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=22bcae0b31e189110555fdff8dfc948a@riseup.net \
    --to=swedebugia@riseup.net \
    --cc=guix-devel@gnu.org \
    /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).