all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Zelphir Kaltstahl <zelphirkaltstahl@posteo.de>
To: help-guix@gnu.org
Subject: How to install previous versions?
Date: Fri, 9 Oct 2020 19:00:57 +0200	[thread overview]
Message-ID: <74f9ab4c-346a-fa13-53ca-8d47dd50e683@posteo.de> (raw)

Hello Guix Users!

I have not figured out yet how to install a specific version of a
package, that is not the newest available version.

For example I do the following:

~~~~
guix environment --ad-hoc 'python-redis@3.3.8' 'python@3.8.2' -- python3.8
~~~~

I had this version of python-redis in a manifest.scm file. However,
there seems to have been an update and now this manifest file cannot be
used any longer, as it references an old version. It will tell me the
same error as the one-liner above:

~~~~
guix environment: error: python-redis: package not found for version 3.3.8
~~~~

However, I think that is strange, because I can definitely see, that
version does exist on
http://data.guix.gnu.org/repository/1/branch/master/package/python-redis.
There are now the versions:

'(3.5.3 3.3.8 3.2.1 3.2.0 2.10.6)

So how would I need to write my manifest.scm or my one-liner to get back
to that older version?

I would like to have reproducible environments and I think that is also
a goal of GNU Guix package manager? Otherwise how could it ever
guarantee, that on 2 different machines at 2 different points in time, I
can build the same environment? A package could have been updated in
between the 2 setups and then the previously latest version would become
unavailable. I must be missing something.

Best regards,
Zelphir


             reply	other threads:[~2020-10-09 17:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-09 17:00 Zelphir Kaltstahl [this message]
2020-10-09 16:37 ` How to install previous versions? zimoun
2020-10-10 15:14   ` Zelphir Kaltstahl
2020-10-10 16:44     ` zimoun
2020-10-12 13:58       ` Zelphir Kaltstahl
2020-10-12 14:29         ` zimoun

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=74f9ab4c-346a-fa13-53ca-8d47dd50e683@posteo.de \
    --to=zelphirkaltstahl@posteo.de \
    --cc=help-guix@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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.