From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8DJDHBoDVGTPlQAASxT56A (envelope-from ) for ; Thu, 04 May 2023 21:10:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id eH94HBoDVGRDQAAAauVa8A (envelope-from ) for ; Thu, 04 May 2023 21:10:18 +0200 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 1BAD4965B for ; Thu, 4 May 2023 21:10:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pueL7-0004lC-3h; Thu, 04 May 2023 15:10:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pueL4-0004iZ-Ji for bug-guix@gnu.org; Thu, 04 May 2023 15:10:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pueL3-0003zV-VK for bug-guix@gnu.org; Thu, 04 May 2023 15:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pueL3-0006Dy-Qg for bug-guix@gnu.org; Thu, 04 May 2023 15:10:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63276: Allow channels to depend on a past Guix revision / private dependencies Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 04 May 2023 19:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63276 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer , 63276@debbugs.gnu.org Received: via spool by 63276-submit@debbugs.gnu.org id=B63276.168322738823898 (code B ref 63276); Thu, 04 May 2023 19:10:01 +0000 Received: (at 63276) by debbugs.gnu.org; 4 May 2023 19:09:48 +0000 Received: from localhost ([127.0.0.1]:52095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pueKp-0006DM-KJ for submit@debbugs.gnu.org; Thu, 04 May 2023 15:09:47 -0400 Received: from mail-wm1-f52.google.com ([209.85.128.52]:41392) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pueKm-0006Cz-RP for 63276@debbugs.gnu.org; Thu, 04 May 2023 15:09:46 -0400 Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-3f1754e6ac2so1483355e9.1 for <63276@debbugs.gnu.org>; Thu, 04 May 2023 12:09:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1683227379; x=1685819379; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=T0EQOdbvv5YLwXb44YYWN/CDVwkio5Lpl1fCCIPJ0LU=; b=BP0dRrXflpt9Wz7dsJ4JFBg5nSWpebhcg1ZS768jNaiChpJ6/9mcYVZpSs+BmWZuPs 8TcvoGIM4KdgID9O2AhfLXuI67GEUYEuW6USqRboLf34H/VPifyMVBvsiYpHp8+yesU7 9ogc2hfrHt2381iYOtQZ2jNURLowlXObJ1C4xcTREq63whlqKn3GgBsNYowX306e+FM3 mnaFK545V074jQvq32DmP07S5c1LDUM0cZ3wOe9hl+tk0/Bl5bIZYdapSscafoSfnZwQ DL4SKFb2Oe8suBSw8dWp5+DTianAkXrbPNEquzurfg19LLDYEbc20EWYAY++FH94Oq5x xZbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1683227379; x=1685819379; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=T0EQOdbvv5YLwXb44YYWN/CDVwkio5Lpl1fCCIPJ0LU=; b=TPKTMvT5mWQg2iaXe7XokLZOt6bQGjbuswF2IXdfrA+1NViW8kitTa4AzXuVTGZfkl cvyWxKHWQXjLh6GMpSkChQi1ul+s6qKAzRuoO9WeIaz9lDiHMnA6wqknLnYdkUbFUngF 8XjVaC2c7XcINCSFE6bZcLfw9CnRTn67ut9M1jTtgDy/6R3ZtTghL10M4V0XBElJSrKe qbAeLJFCqS6ig5zk0byHujaCJkxgZwc2GVLZaOrKg3hzm3TdYoDuBbB6tG99JaLwVKYJ KlbIZ6W4X5Gg1u90Q4nemrhYednJIhAYopH7xN5H4MvWS5uEjrRoK6sgaNrgewtKXm3l vpEw== X-Gm-Message-State: AC+VfDws+lqoOvSyo0u8z9JkiagBq5eFYD0NFTs+LqGbXd4+diXs2itv TqHiQsLVfPCtRZ+d6NVOrOmB7Gyi0p0= X-Google-Smtp-Source: ACHHUZ5BaaJCRYKVL9eihpMbNEJUEYCN4qvP0Jxj91qaX+e/zZrP3Hn2JUYp1467TlyJrgCZu1YP/g== X-Received: by 2002:a05:600c:4a93:b0:3f1:78bd:c38b with SMTP id b19-20020a05600c4a9300b003f178bdc38bmr8113795wmp.4.1683227378840; Thu, 04 May 2023 12:09:38 -0700 (PDT) Received: from lili (roam-nat-fw-prg-194-254-61-46.net.univ-paris-diderot.fr. [194.254.61.46]) by smtp.gmail.com with ESMTPSA id x16-20020a05600c21d000b003f318be9442sm5821393wmj.40.2023.05.04.12.09.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 May 2023 12:09:38 -0700 (PDT) From: Simon Tournier In-Reply-To: <87354c5c2j.fsf@gmail.com> References: <87354c5c2j.fsf@gmail.com> Date: Thu, 04 May 2023 21:09:35 +0200 Message-ID: <865y97zzf4.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1683227418; a=rsa-sha256; cv=none; b=BVko5ISUX46/a+DpNWsHhPFNPWJ54DIx9fQ+UDGqzzLpV9D0Bypj5U1NJlXzv6UPOZ1sm1 6KE5t1fJ3JXEt2cbNA8HJ+S/CwDXVo+645BJUf8Ik0653BgC3ufioo481Vag0Rw1+5ayFA KVTHoyWVT4owjqBp46XXSB+/S0qS26+Qa1W8ek+I2r+QMWYNAR4CbcaJXK909x5CYCo/zf BAliDIbw3ZijR7WE6059NoFvVk+zariJe/22/7OD2BGeGtedKizinu/ri8445wtpniCk89 OrflkJxoptWBShIgWKiGzsNqzna8Iy0URMmu0LEGjUaGz9dvVjgYwYwfe+QtTQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=BP0dRrXf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1683227418; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=T0EQOdbvv5YLwXb44YYWN/CDVwkio5Lpl1fCCIPJ0LU=; b=TxnonkvfEHCKtU6F83VdiSUYjvxiXdYePDrWybO+xm4HlVPjm1PmTQ04Yv3ShVcTH29hq9 yNF8MNnwMEoaVBE239Z5A+dfoFhVFeiDxHLMjaKLz6fxFai9QF/EuqdGX6RSHK8BApgDMT w6XbbYPG/O9XZOyTTGLc7z/41zzl37ctk6eldNAAQlku4FSeGGLep+jFoh33XhiGB4UR4X NtYGzyKfaxGSogXMhBuwWqNzXi245+cWo0X7iK+02piuwfZPETx2pEy41/hKzzO1RBsztC QwVtB3Kq1MxELVNhnzpdp9rv1RWzZWXttTT9hh+M1lPwBab/8NlkfONYSEiHYA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=BP0dRrXf; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.29 X-Spam-Score: 7.29 X-Migadu-Queue-Id: 1BAD4965B X-TUID: EvX0QwUuhy5s Hi Maxim, Well, part of the message is in: :-) https://issues.guix.gnu.org/msgid/875y987z1m.fsf@gmail.com On Thu, 04 May 2023 at 11:52, Maxim Cournoyer w= rote: > It seems a valid use case to have a channel that depends on an old Guix > version. Should this be supported? > > If I could for example use the following channel dependency file at the > level of the channel in a .guix-channel, to depend on an older Guix > revision: > > --8<---------------cut here---------------start------------->8--- > (channel > (version 0) > (dependencies > (channel > (inherit %default-guix-channel) > (commit "9ed65e6af77893b658a7159b091b5002892c2f95")))) > --8<---------------cut here---------------end--------------->8--- You want complete channel depends on a previous Guix, right? Somehow, it would become equivalent to this channels.scm (list (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (branch "master") (commit "9ed65e6af77893b658a7159b091b5002892c2f95")) (channel (name 'sfl) (url "file:///tmp/sfl-guix-channel") (branch "master")))) and then run =E2=80=9Cguix pull && guix build sflvault-client=E2=80=9D or: guix time-machine -C channels.scm -- shell sflvault-client Well, I do not know if it is desirable. Most of the time, I only want one specific package from one specific Guix revision. > As a workaround, I can define a 'python-pycryto*' in the channel itself, > although that's kind of silly because it can only be used with a Guix > inferior pegged to commit 9ed65e6af77893b658a7159b091b5002892c2f95, > which does contain 'python-pycryto'. Well, I do not know if we are using the time-travel the same way. :-) Considering this: (define-public foo (package (name "foo") (inputs (list bar) (list baz)))) Most of the time, I want to build =E2=80=99foo=E2=80=99 using a recent Guix= but that recent Guix removed =E2=80=99bar=E2=80=99 so I want to pick it up from an i= nferior. And let say I want =E2=80=99baz=E2=80=99 from another Guix revision because= some specific version of =E2=80=99baz=E2=80=99 is required for building =E2=80= =99foo=E2=80=99. Basically, I am tempted to define the symbol =E2=80=99bar=E2=80=99 and =E2= =80=99baz=E2=80=99 in my channel and bind them to some inferior packages (here from 2 Guix revisions). Well, the number of inferiors should not be too much. And it requires some care about the propagated inputs. Cheers, simon