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 GCVTM7TpumKnuQAAbAwnHQ (envelope-from ) for ; Tue, 28 Jun 2022 13:44: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 CGpHMrTpumLaTwAAG6o9tA (envelope-from ) for ; Tue, 28 Jun 2022 13:44: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 6C47E17369 for ; Tue, 28 Jun 2022 13:44:52 +0200 (CEST) Received: from localhost ([::1]:50154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o69eF-00017V-BP for larch@yhetil.org; Tue, 28 Jun 2022 07:44:51 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o69JE-0003pw-67 for guix-devel@gnu.org; Tue, 28 Jun 2022 07:23:13 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:45779) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o69JB-0003zA-U8 for guix-devel@gnu.org; Tue, 28 Jun 2022 07:23:07 -0400 Received: by mail-wr1-x432.google.com with SMTP id n1so17170874wrg.12 for ; Tue, 28 Jun 2022 04:23:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=i86aFL5FLJVSJ5mmtZgnAG5zXbNDrp3cCv+LVOrfgwQ=; b=XOEqef3Bbw48RHykluY0vbb6NWkAKnK8iQ7iGCN9ihAg6Qi5OujM9NBWYJBQsLZTux iJKCdDqoZ85dsQ0vvqwopSnZG7ct3zDc1Ewa3fVDTOz4LLNONgSmu6dxCt4Dk6qELse6 Vse6rYxBQX8l2kV7ILGArkbSiZk3azbTG+zmvjN/EprYVU/1fHbhbbVs9DqlMLSMbAal N67HuB0fmlhKoVbm/ntlgimVN5ouD63+Ttr+83K7Ksp68AzwwP976kWneeomA/6abe9Y DU8uETAuOYj3dWdmLJms6nVjYjyBHBvtw+jbIhRatmMaCWBUhlFDSnOgTcj+blFw0NUR OTjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=i86aFL5FLJVSJ5mmtZgnAG5zXbNDrp3cCv+LVOrfgwQ=; b=Yhrm9KX0rzm1/ueiZpYuZ1LMqLRMwlsfWwa0Phh0SA4nYmiBm09yb0EJ8lKr8QfHvM wpoimZ2tdW1nOb6IzOfMwXHANK05cxbZlCN7fxJ4mBDpw2WrXGJIVvziv6eW5NnrWYES YigkJO3JnQG6G5AAItHbpZLo1YhIyVLpsOE+tgbW95xhhpG0UPWo7aSlP/P9rbK+kUWb /wbQMtPpDMEp73xR44BCgQvtyrkeehdeG9nAJN54BzoWCUVDmwkW9pfAvXo4NaeS7xIs hAqj7klJSGp3sh+KVLD84VA4aBY05q8zW2HBZr0Rw8qSqbjM83WKqZzJSBUG/VHuh9kU FT3w== X-Gm-Message-State: AJIora8Cf/qe4JTPe9C04Osu9g3whZ2LiXM/AKUXYljhjnlFUC04ZZ/T 1u0sXEebPsmhG+BBvkYO6TzAD9lY4ippow== X-Google-Smtp-Source: AGRyM1tkUdwhUv/xbAw7lvMtGN4hCZXbACSPF9BSs+Fif+E9ZysdgHZ0Tm5wbm9DPUH37MPNNL+F1g== X-Received: by 2002:a5d:6483:0:b0:21b:c708:ba3e with SMTP id o3-20020a5d6483000000b0021bc708ba3emr13196019wri.597.1656415383479; Tue, 28 Jun 2022 04:23:03 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id m2-20020a7bcb82000000b0039744bd664esm20932736wmi.13.2022.06.28.04.23.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jun 2022 04:23:03 -0700 (PDT) From: zimoun To: Akib Azmain Turja , guix-devel@gnu.org Subject: Re: First guix pull is too costly In-Reply-To: <87wnd1kycb.fsf@disroot.org> References: <87wnd1kycb.fsf@disroot.org> Date: Tue, 28 Jun 2022 13:23:00 +0200 Message-ID: <86zghxdobv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x432.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" 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=1656416692; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=i86aFL5FLJVSJ5mmtZgnAG5zXbNDrp3cCv+LVOrfgwQ=; b=TA5LW6gKg4zXhi+dz27EBTopOtMN6hUy1ELnbJ1da1+3xE7Dc/tBLL39tPHq7WInOIbmA1 bJ15vrjYNXJT9wNRAaKl3t6aMc53VLW5r0JePw9ZxPwbmGsoDMJ/bUSTLls9ZbnOBBuGU6 bfZvuj81PG5CKQrxn1ywZuPgUFABLhcTVXYh0YWUb7ClomBLWHHThVwI9ndiwJB4EGCGBx nyYMawmbXJ/5ZmiZkcFvJjm01nVJBktFgaiU7pM603mRb59Kdyg5lWSy9GprMcw0uf4i8e 8E1kl6lHrkh1zarRaQGGRith6n2JeSlnIeFlslWIB7LBTAssAcSLWu7RKXAjXA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656416692; a=rsa-sha256; cv=none; b=ruKurgPeDPZ5DoXrpqWt7jPJOGFx6XOdRSaKQf3/ITBjMOKtG2poOgzk7GiN9M8t9JueAZ xU/ckt5k97cpkMKXFcrUYbNHNsFu1tcRMXOOYSX5CuCuyvDSCaY3+E/M3hVHtr53E5F3/j IWK2X80nwnKEr1BI3MTyZQrqmz9RvVnQ3EeQC5i9SVm51AS1lEP99xg7gFxdZRtSB4Ji77 n7szQs83hpu7mbe1FsatiRNmwIwzxhrA5BoWHPo0onBJNK/Y1NMcaAaAlF8ckfoG3pQgqN AliNznUPn2Vnp+kYFfE5AY905snspFNeSsGvOnc7rO0rMJm1Z1efnYYlGyPf/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=XOEqef3B; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -7.45 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=XOEqef3B; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6C47E17369 X-Spam-Score: -7.45 X-Migadu-Scanner: scn0.migadu.com X-TUID: t8VH0ZINBXgo Hi, On Tue, 28 Jun 2022 at 14:04, Akib Azmain Turja wrote: > Is possible to reuse the guix channel from any other user to do the > first guix pull? Or maybe a shallow clone? Assuming alice is user already existing on the machine and bob is the new user. Something like should do the job, --8<---------------cut here---------------start------------->8--- ALICE=/home/alice/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq BOB=/home/BOB/.cache/guix/checkouts/pjmkglp4t7znuugeurpurzikxq3tnlaywmisyr27shj7apsnalwq mkdir -p $BOB git clone $ALICE $BOB --8<---------------cut here---------------end--------------->8--- then adapt the permissions. Cheers, simon