From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id MA3JEqDwx2J4awEAbAwnHQ (envelope-from ) for ; Fri, 08 Jul 2022 10:53:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cFvcEaDwx2JnGAEAG6o9tA (envelope-from ) for ; Fri, 08 Jul 2022 10:53:52 +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 A6DCF16EB6 for ; Fri, 8 Jul 2022 10:53:51 +0200 (CEST) Received: from localhost ([::1]:55798 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9jkE-0005WD-H1 for larch@yhetil.org; Fri, 08 Jul 2022 04:53:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58884) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9jjS-0005TN-RL for bug-guix@gnu.org; Fri, 08 Jul 2022 04:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36635) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9jjS-0003Yj-Ip for bug-guix@gnu.org; Fri, 08 Jul 2022 04:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9jjS-0000oi-HT for bug-guix@gnu.org; Fri, 08 Jul 2022 04:53:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56441: guix time-machine broken by profiles speed-up Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 08 Jul 2022 08:53:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56441 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ricardo Wurmus Cc: 56441@debbugs.gnu.org, zimoun Received: via spool by 56441-submit@debbugs.gnu.org id=B56441.16572703793121 (code B ref 56441); Fri, 08 Jul 2022 08:53:02 +0000 Received: (at 56441) by debbugs.gnu.org; 8 Jul 2022 08:52:59 +0000 Received: from localhost ([127.0.0.1]:58765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9jjO-0000oH-OS for submit@debbugs.gnu.org; Fri, 08 Jul 2022 04:52:59 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9jjM-0000no-B7 for 56441@debbugs.gnu.org; Fri, 08 Jul 2022 04:52:57 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40400) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9jjD-0003W1-FX; Fri, 08 Jul 2022 04:52:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=g7JK0kCdFrhIT6q910qcxTerQzT7V74GTOk2Xdq/KAY=; b=cOD2ba2HBAY7lOhWg6Iv U4eJ207aWVfuj0m8IUHWsK4an8+0yps+RdciMYdizyXoLmknoiC0lle1XuOPSPnA6P4hgCzJmtSid NJkDv7Omyp+VZjHnOyA21NAC8LukGvVt5gi+pO9eLh26nf1ubf+QYRwSwyv+7IfXc0kdmi9K2iEbO K4mABNVHOs3whP7NnuaBxLgVBhRmtTGD00nHv7SUuiO/9pY1a4D5Ovnu55s0wBiuDt3t/ANpp3W6V AJVDqBJ23utYtOl5n3TfbMTzyMKuRQf8Sd3hmLsO43ifeB12XIz+rVQg+d9ZTRLGc4SN8dR6slAO4 o1UCFTe7ixz9cg==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=46894 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9jjB-0004u5-KJ; Fri, 08 Jul 2022 04:52:46 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <867d4oq3gr.fsf@gmail.com> <87wncozun2.fsf@elephly.net> <87sfncztuq.fsf@elephly.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?UTF-8?Q?D=C3=A9cadi?= 20 Messidor an 230 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Parc X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 08 Jul 2022 10:52:43 +0200 In-Reply-To: <87sfncztuq.fsf@elephly.net> (Ricardo Wurmus's message of "Thu, 07 Jul 2022 19:52:52 +0200") Message-ID: <87fsjcx9yc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) 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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657270432; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=g7JK0kCdFrhIT6q910qcxTerQzT7V74GTOk2Xdq/KAY=; b=L6Mxt0q5+pgVvHhbBd2bo5x4FN6S3eKsfEozFu6ifieKF6Pm9anwjAr6jLniDw1HiaUWDg BvJ8d/RP6jpDXEUTXjGJSFupggeDy+LxVsn8D2TQXgcky4EdaDGtEb+qDMm3mT7fI+YUmh UcWBVwnft2QathAiZIgVO0g1hPCvLUysDmF35Wjtl3JMSEKHECTIeyHHu14ZovpJIozbZI tS3jUnZugH/YqClydP+TrxMlj39uYLKv6pk/0+NXdCIEDvpR5Qui/IwNUtPOk84VHOdp9E /n+baStehhWtqk8iCb5wjRz1h1LxThnEqJFqrQq0RvGPT9ktuGQM0kf6Yf6V9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657270432; a=rsa-sha256; cv=none; b=C40JEi/+chy4qp1fENe78CAJVnPm0DY9jjqWOjZBeU49MAzfT0IM/zQ6TlZDbjqrP5v4rX t+JvsRc8xaQfc5W3LPeHO7lPTkxeHAU8MuqJNX4wFQJ3/+/47XhoXrkBhEE1gR4bk8FLIQ 6tL/w7qqmlNqVLo7TeaeAA9LBtvG/yNQR+u79KRR51LrWVBqp6SqIu+VzHGHLl/Qq28U5x VbrM/NyKpOP9Bp2EbqTnP1juooLYt7RUc3bUww3ALk0ZR/nyxdrkWQONITXwCUeBhRkhKa X/38PdEkgGmMX0oy4HUN6rhfXJVRiDjNkzVVE9xPKwcRb4cWHo9GzXQJKreJaQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=cOD2ba2H; dmarc=pass (policy=none) header.from=gnu.org; 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: -4.64 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=cOD2ba2H; dmarc=pass (policy=none) header.from=gnu.org; 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-Queue-Id: A6DCF16EB6 X-Spam-Score: -4.64 X-Migadu-Scanner: scn0.migadu.com X-TUID: ws8ECkV4hdeD Hi, Ricardo Wurmus skribis: > It=E2=80=99s worse than that: an older Guix living in a new profile (i.e a > profile with a version 4 manifest) cannot describe itself, because it > cannot read the manifest. Argh. [...] > This old Guix lives in a new profile. We must prevent this. But how? > > How about this: > > Build Guix with only the 'guix channel (no any other custom channels > allowed), and then build the channel=E2=80=99s profile (with all requested > channels) inside an inferior of that plain Guix. Since the inferior > Guix can only build profiles that it supports the resulting *profile* > will be compatible with the same Guix (and any additional channels). Another option (thinking out loud): =E2=80=A2 in =E2=80=98package-cache-file=E2=80=99, unconditionally genera= te a v3 profile (we could add a =E2=80=98version=E2=80=99 field to etc.); =E2=80=A2 likewise in =E2=80=98channel-instances->derivation=E2=80=99. Problem: it doesn=E2=80=99t address the case where you install the =E2=80= =98guix=E2=80=99 package in a regular profile (I think?). Other option: run the whole =E2=80=98profile-derivation=E2=80=99 call of =E2=80=98channel-instances->derivation=E2=80=99 in the inferior, instead of= just =E2=80=98package-cache-file=E2=80=99. Needs more thought=E2=80=A6 Ludo=E2=80=99.