From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sJdiKENA4V8VVgAA0tVLHw (envelope-from ) for ; Tue, 22 Dec 2020 00:39:31 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id AEgWJENA4V+wSwAAbx9fmQ (envelope-from ) for ; Tue, 22 Dec 2020 00:39:31 +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 08DF0940142 for ; Tue, 22 Dec 2020 00:39:31 +0000 (UTC) Received: from localhost ([::1]:42674 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krVi5-0000I6-B5 for larch@yhetil.org; Mon, 21 Dec 2020 19:39:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krVh6-0000HO-KM for help-guix@gnu.org; Mon, 21 Dec 2020 19:38:28 -0500 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:39829) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1krVh3-0003R2-Ca for help-guix@gnu.org; Mon, 21 Dec 2020 19:38:27 -0500 Received: by mail-wr1-x42e.google.com with SMTP id c5so12836366wrp.6 for ; Mon, 21 Dec 2020 16:38:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version :content-transfer-encoding; bh=FG6PLpuxiOr0R7d2jyMiB1p7ev0VS3Lu+Y5dXgNxxDw=; b=Lu7XCF6Pg7u+h2upW4QkWwchprtnYoE92xmMDm5jgWk23vCzBQmyMunGyCp2QTv6a1 acwCD+dstdrHtBuTgySt4Z+XW+SIo5R0Kv1hjZR1Le7JNJzkHk+IFHzzR6ZqG0utZeOH vK0UmJrMvtHD94Y6pds7qG6fGwZPr4kHJhSE08ACLIPR8+lt7QLBfvI5gvkN0YCd9MsK cz9eK+4vsp1Doa24kaoZbBDU8NgRNq8KWEal5EgVFqH+8s18TJYL7XqKDlvigtmPIFI4 /HQUsroBMJ/zvq2oEkwQ+7NFtqEbqYPiQQYh40C7aI118PjHk2f6IzuTh7utrmDWjvPb 7gwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=FG6PLpuxiOr0R7d2jyMiB1p7ev0VS3Lu+Y5dXgNxxDw=; b=QfOMfkn3Ky9+sbOCppETP48BaW74NKekWRzo/PH7jm1u6Z74+Z7e31gb98u1XBYtUz K3WDEfL4L+aGnMDa4tqQWr2v5OEdzqZQTnsDmA4nbOh4rpD1C8fhD7jQN2EXCcIHsgoB pBDkodr8jnlAIrn6ccAPzJPoL8i/XIQVn83kI9IEBqKWIPAjRxLHOre7sLSF+3AbIOmf 9wFrvsqJkO/5IozSzY2jzroGRtTsw4W6uZEGQ3ppHSI8IxT+c4LUgrq9O2Q7dJhkndYv KdklFy53N5tPmD6wFc1qJAjdIIMRayRbQvw9Kju8igpFFnl8faF7fm4aWRhVG6GPewk7 mGZw== X-Gm-Message-State: AOAM532Q4YaVTe8MaRkHS/Fq/GC6oulEuEtqqtlkpe7ICz7MCBsxCPt4 UG+LV+jhgi3wLYBqut5EQ9EoKmtpjfo= X-Google-Smtp-Source: ABdhPJx4cbiHT+d2OZds5vP7I4/aPBVnh3Hc7tAsTeg/HwIyL/QvfeSYZzbdewufYgCh3faUkNf+oQ== X-Received: by 2002:adf:eb87:: with SMTP id t7mr21038304wrn.316.1608597503695; Mon, 21 Dec 2020 16:38:23 -0800 (PST) Received: from lili (oul69-1-82-232-2-3.fbx.proxad.net. [82.232.2.3]) by smtp.gmail.com with ESMTPSA id a12sm31893972wrh.71.2020.12.21.16.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Dec 2020 16:38:23 -0800 (PST) From: zimoun To: Pierre Neidhardt , help-guix@gnu.org Subject: Re: Install `guix pull'ed Guix to target partition on system install In-Reply-To: <87ft403kol.fsf@ambrevar.xyz> References: <87ft403kol.fsf@ambrevar.xyz> Date: Tue, 22 Dec 2020 01:29:22 +0100 Message-ID: <86tuse8yzh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::42e; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x42e.google.com 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.02 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Lu7XCF6P; 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-Migadu-Queue-Id: 08DF0940142 X-Spam-Score: -3.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: t7p/rWxvnUcB Hi Pierre, Re-reading all the thread. On Sun, 20 Dec 2020 at 10:12, Pierre Neidhardt wrote: > I just installed Guix System on a new machine: > > - guix pull -C my-channels.scm Did you really do this =E2=80=9Cguix pull=E2=80=9D? Because it is=E2=80=A6 > - guix system init ... /mnt=20 > - reboot > > Now on my fresh system, the only Guix available is the one from the USB > stick, namely 1.2, and not the one from my channels. =E2=80=A6in contradiction with this. So bug? It looks as you are doing: guix system init =E2=80=A6 # use guix v1.2 so you download all the substitutes corresponding to this v1.2. Then you reboot and log as regular user, run: guix pull This =E2=80=99guix=E2=80=99 clones the repo and fetches all the substitutes= at version origin/version to be able to run the last =E2=80=99guix=E2=80=99, i.e., cre= ate: ~/.config/guix/current If you really did: guix pull guix system init =E2=80=A6 reboot login as regular user guix pull and it took twice half an hour (for each =E2=80=9Cguix pull=E2=80=9D) in ad= dition to all required by your config, I miss something. Because, the second pull should not be so long. Well, one way to fix is, before the reboot, run =E2=80=9Cguix archive --exp= ort -r $(readlink -f /path/to/default/guix/profile)=E2=80=9D and then after the login run =E2=80=9Cguix archive --import=E2=80=9D. This should avoid to fe= tch twice the same substitutes (used by Guix). I thought that something like that was included by =E2=80=9Cguix system init=E2=80=9D. In conclusion, the problem here does not seem cloning the repo, but fetching all the substitutes twice. Cheers, simon