[Top][All Lists]

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

Re: How to install previous versions?

From: zimoun
Subject: Re: How to install previous versions?
Date: Fri, 9 Oct 2020 18:37:44 +0200


On Fri, 9 Oct 2020 at 19:19, Zelphir Kaltstahl
<> wrote:


On this web page, you can click on the date: first commit and last
commit known to have this version.  You can even see the status
(build, failed, pending, etc.) on this web page (appending

For example, clicking leads to:

And this gives you the commit with 'python-redis@3.8', using the command:

  guix time-machine --commit=f5111b \
         -- environment --ad-hoc python-redis python \
         -- python

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

The best is to write a manifest file, say manifest.scm containing the
package you need:

--8<---------------cut here---------------start------------->8---
--8<---------------cut here---------------end--------------->8---

The other no-so-said is to track "guix describe", you *should* _track_
the file channels.scm:

   guix describe -f channels.scm

Then later or on another machine, you simply run the command:

   guix time-machine -C path/to/channels.scm \
          -- <subcommand> -m path/to/manifest.scm <options>

Hope that helps,

reply via email to

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