From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id QOf0M0GigF91dgAA0tVLHw (envelope-from ) for ; Fri, 09 Oct 2020 17:47:45 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id AJDCL0GigF+OTgAA1q6Kng (envelope-from ) for ; Fri, 09 Oct 2020 17:47:45 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C336594060E for ; Fri, 9 Oct 2020 17:47:44 +0000 (UTC) Received: from localhost ([::1]:59194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kQwUZ-0007CK-Jb for larch@yhetil.org; Fri, 09 Oct 2020 13:47:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55132) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kQwUQ-0007B1-Bi for help-guix@gnu.org; Fri, 09 Oct 2020 13:47:34 -0400 Received: from mail-qv1-xf35.google.com ([2607:f8b0:4864:20::f35]:37377) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kQwUO-0006K0-Mi for help-guix@gnu.org; Fri, 09 Oct 2020 13:47:34 -0400 Received: by mail-qv1-xf35.google.com with SMTP id t6so1043323qvz.4 for ; Fri, 09 Oct 2020 10:47:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xQLjx5VbvA8GXcsPAffhcFtOxMuOGosGFhNfdqAXNy4=; b=bMJDKNuD/gZx5i544SqCsf3KxZeHMHCHaGRpNNHBWbHnaR6Rof23bODqoS+G+2Wfi3 Jt1O54Mb5fMrIkxi4eQyLGQ+Q4dt9uxIHV63hapQWxvtNjuAXy7YiElFncNnDzxo+vic LtxhS3jxHHegF88Coy+RSCFOWL9gRwZE8Vh0mGem1tpCz9MYtz7C3iWQ1ET7bNQKeRuH meKjAUG7L3xEQYzUqtZTZGXMhHZzjp3FeSaUljsmQa/n+hZbS1lTJHJMVtJJcMiU7FMe UxNWeVuStBhJ4qDkW0UfZuNYzy3ITYetXAqKR/n0SySj3EW5LToGznZ7olMfD4cixAhq TZdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xQLjx5VbvA8GXcsPAffhcFtOxMuOGosGFhNfdqAXNy4=; b=gaOJogK4J/q2u54kYwqdXjaJz065w/00B2Rhx/a2FHrDFnkzZ0VDET6Sq56SOimW6B 9EZNZvtGRkYpep9nJeAQ4C1mwSuOgWDT1FSAwY5L2NdnTXvcLhWOIkqUtvoa4Hs07bv6 Ftpk/nhOLb7HKtNweSWJjLv9dxvoMKy6czZHNCrdYlWrssVzD2k/ayVhphT5bcfov2/V BOgRfLf8wlxUmFmEJLPkNNsJ2YFvsuFyhib8qFJU/E6TJTejNdha2gf9sn6bVGLIQUvc mb+VYhb8efruddRP9uoZPB4e6e2OP5d0L3gBR/I4O0V6zpOteip8UgyIjSv9JdmV40tM /TMw== X-Gm-Message-State: AOAM533k/OV9c1X4jonbzO7VTMdiiKAS84MbCCrdvhdx21SIwtYdmvim n1AADRX0UaCxdVMeJUiWEou38X0F76LjfpbRd/TF+YM8LH0= X-Google-Smtp-Source: ABdhPJwQVd2a2stqP5uJnztAmTTAXG2LHPtoi8X+G6FU/F+adepXKcpmrSBJ2Aji31+hSqzkQASQfdDdWSr5FGdujf8= X-Received: by 2002:a05:6214:569:: with SMTP id cj9mr8178809qvb.43.1602265651784; Fri, 09 Oct 2020 10:47:31 -0700 (PDT) MIME-Version: 1.0 References: <74f9ab4c-346a-fa13-53ca-8d47dd50e683@posteo.de> In-Reply-To: <74f9ab4c-346a-fa13-53ca-8d47dd50e683@posteo.de> From: zimoun Date: Fri, 9 Oct 2020 18:37:44 +0200 Message-ID: Subject: Re: How to install previous versions? To: Zelphir Kaltstahl Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::f35; envelope-from=zimon.toutoune@gmail.com; helo=mail-qv1-xf35.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=bMJDKNuD; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Spam-Score: -0.71 X-TUID: /pDVoDl7IrtH Hi, On Fri, 9 Oct 2020 at 19:19, Zelphir Kaltstahl wrote: > http://data.guix.gnu.org/repository/1/branch/master/package/python-redis. 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 'output-history') http://data.guix.gnu.org/repository/1/branch/master/package/python-redis/output-history For example, clicking leads to: http://data.guix.gnu.org/revision/f5111b4d2b982d58387188bc3018e4dd2e9a9d4f 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--- (specfications->manifest (list "python-redis" "python" "foo" "bar" "etc")) --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 \ -- -m path/to/manifest.scm Hope that helps, simon