From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.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 iH5PHaxg8mKKfwEAbAwnHQ (envelope-from ) for ; Tue, 09 Aug 2022 15:27:08 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id WOBAHaxg8mIUCgEAauVa8A (envelope-from ) for ; Tue, 09 Aug 2022 15:27:08 +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 5308A1CE3 for ; Tue, 9 Aug 2022 15:27:08 +0200 (CEST) Received: from localhost ([::1]:60796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oLPGF-00082j-GA for larch@yhetil.org; Tue, 09 Aug 2022 09:27:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59320) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLPGA-00082O-7A for bug-guix@gnu.org; Tue, 09 Aug 2022 09:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53139) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oLPG9-0008Gi-VE for bug-guix@gnu.org; Tue, 09 Aug 2022 09:27:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oLPG9-0006zW-RN for bug-guix@gnu.org; Tue, 09 Aug 2022 09:27:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#53210: installer: referring to N-1 guix is problematic. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 09 Aug 2022 13:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53210 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Josselin Poiret Cc: Mathieu Othacehe , 53210@debbugs.gnu.org Received: via spool by 53210-submit@debbugs.gnu.org id=B53210.166005159926838 (code B ref 53210); Tue, 09 Aug 2022 13:27:01 +0000 Received: (at 53210) by debbugs.gnu.org; 9 Aug 2022 13:26:39 +0000 Received: from localhost ([127.0.0.1]:42884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLPFY-0006yS-82 for submit@debbugs.gnu.org; Tue, 09 Aug 2022 09:26:39 -0400 Received: from eggs.gnu.org ([209.51.188.92]:46278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oLPFV-0006y1-3C for 53210@debbugs.gnu.org; Tue, 09 Aug 2022 09:26:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLPFP-0008Cg-Rr; Tue, 09 Aug 2022 09:26:15 -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=jsl2bVwUI3l/GnvuOvc84MZ/rMVVvEdX0rbW7/8D5P0=; b=TfmxZ7VklaPLILfwkFqx kxaKCrOP+YbxUS69ocPAU69tb6/a+S5a4vVDN/aMGRQUEfWdMmLdWDN78k1T+idtmW/T/VCvHkbzD v9Sp28/IsIyOqUNuNFgb5GNu1bIz0AdGsP4S36pttlBjefxlEBWYG2++gqAIeXi5kPeRwuO3FE52U bnWze8/MOXdCMXM6RKavNNF1KzVemVR/WreXwUyOpQL8Ac3sRXBSGJMhsORJi0zp4ja1gfc5Me67y qOGRZ71DoSYeXvLtueCjKXcYrJMT++5hsAGvifabGwwCAjJZy+GLmb9NO+fqyrANLjsDWaNM5W5z/ W4ip43Zf8LJ2GQ==; Received: from [193.50.110.201] (port=35942 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oLPFP-0004q6-EU; Tue, 09 Aug 2022 09:26:15 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87lezkrgvj.fsf@gnu.org> <20220214092908.16801-1-dev@jpoiret.xyz> Date: Tue, 09 Aug 2022 15:26:12 +0200 In-Reply-To: <20220214092908.16801-1-dev@jpoiret.xyz> (Josselin Poiret's message of "Mon, 14 Feb 2022 10:29:04 +0100") Message-ID: <87v8r17dl7.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=1660051628; 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=jsl2bVwUI3l/GnvuOvc84MZ/rMVVvEdX0rbW7/8D5P0=; b=Gk+8KVr/PP+zZC8rhlOZIi7MCzdHGnHooOUqUy8sVinc8FMd4q8T8igbDwt7AmQVWjjgWW XkjQCrbIGLt60bGIlO3lvNga/k98ttIV2B3SJaGu9VeOcn3HGCe9lYtEcS+BpBDFZUCNn3 JL8zwp0UULFkSLsiZL6tY37iEzDIR/sHmNG1tqGGJkTveWro9Hddwjfv1SKlz2LwTMyHyt 7J7e3L+yL26sRWRGJ4IQX1X/Va0khYV+YnNl4h0NthoPCWlYrACnRsa6JE9cAsT/zlVHOY cHYjvpfQ4asLhEmeDCSpqf6xDYW61mfXbmRuq00EBqbPsw0Ql8ybSL/MBAnQ1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1660051628; a=rsa-sha256; cv=none; b=Fpp+2mRl7ktf9PGf71KqxYcfHrYCZ/gxfP0vdGpZuM3RHCY/J9n4AN389VKmuD/I4eyDkt z9gb5dzIeq/bs7rS2fIg9OlhdM98JlSeVZpb5qe6SoCx3Q+a3NxY+FjSQM1JnBSrxX8E+X z+JF2sBwkV1aLlBfdJjBQt7nBvv6gsYcIH6JxoWB1B6mY8wG7gScXrVfUEJ0r3CF+nOKZY t+s5aApD0LlGsw/sf1uQ2n4aqnVDhnUBFRQFOIPxWsRINVhI0+1aZ7NW1fkjxuC7nP+EiX AGoasqH5MErXrIF7fjmqqs+0cjcm/7BmSSmZ2CFHJEaxtQ6hMsYFL8r20gbguA== 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=TfmxZ7Vk; 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.89 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=TfmxZ7Vk; 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: 5308A1CE3 X-Spam-Score: -4.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: PwI7Vfd+IiX1 Hi Josselin & all, I ended up pushing the following patches: fdafd40432 maint: Use a pretty version string in ISO and VM images. 95a03aa5c5 system: install: Always use 'current-guix'. 57f1892d36 gnu: guix: Default 'current-guix' is built using the current c= hannels. 64a070717c channels: Add 'repository->guix-channel'. cf60a0a906 build-system/channel: Accept a channel or instance as the sour= ce. 5bce4c8242 build-system: Add 'channel-build-system'. The basics are similar to what you had posted. It adds a useful default for =E2=80=98current-guix=E2=80=99: a package built from the =E2=80=98guix= =E2=80=99 channel as returned by =E2=80=98guix describe=E2=80=99. In turn, =E2=80=98%installation-os=E2= =80=99 in (gnu system install) is changed to use (current-guix) instead of the =E2=80=98guix=E2=80=99 pack= age, meaning that: guix system image gnu/system/install.scm and: ./pre-inst-env guix system image gnu/system/install.scm both produce an image that contains the current Guix. That allows us to remove the second =E2=80=98update-guix-package.scm=E2=80= =99 + =E2=80=98git commit=E2=80=99 invocation in =E2=80=98make release=E2=80=99, which should = make the whole process faster. Note that the default for installed systems remains the =E2=80=98guix=E2=80= =99 package, not (current-guix). The main reason is that the =E2=80=9CComputing derivat= ion=E2=80=9D step when using (current-guix) is too high to do that by default. We could mitigate that by caching the result of that step more systematically, but I think that can come later. Let me know if you have comments! Thanks, Ludo=E2=80=99.