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 ms0.migadu.com with LMTPS id YOudDG6MMGHQ/gAAgWs5BA (envelope-from ) for ; Thu, 02 Sep 2021 10:33:50 +0200 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 qLIBCG6MMGHTFAAAbx9fmQ (envelope-from ) for ; Thu, 02 Sep 2021 08:33:50 +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 903F1358B for ; Thu, 2 Sep 2021 10:33:49 +0200 (CEST) Received: from localhost ([::1]:34260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLiAO-0002eU-HY for larch@yhetil.org; Thu, 02 Sep 2021 04:33:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLiA6-0002eL-Rf for help-guix@gnu.org; Thu, 02 Sep 2021 04:33:30 -0400 Received: from smtprelay05.ispgateway.de ([80.67.18.28]:11441) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLiA4-0001Rt-5p for help-guix@gnu.org; Thu, 02 Sep 2021 04:33:30 -0400 Received: from [2.247.250.45] (helo=milk) by smtprelay05.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mLi8D-0003If-DO; Thu, 02 Sep 2021 10:31:33 +0200 From: Simon Streit To: Andreas Reuleaux Subject: Re: pulling from my personal channel only - is this possible ? In-Reply-To: <87a6kvubbm.fsf@softland> (Andreas Reuleaux's message of "Thu, 02 Sep 2021 00:26:37 +0100") References: <87ilzk2sna.fsf@softland> <87y28g0y64.fsf@softland> <87a6kvubbm.fsf@softland> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Gcc: nnfolder+archive:sent.2021-09 Date: Thu, 02 Sep 2021 10:33:23 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Df-Sender: bGlzdHNAbmV0cGFuaWMub3Jn Received-SPF: none client-ip=80.67.18.28; envelope-from=lists@netpanic.org; helo=smtprelay05.ispgateway.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_NONE=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: , Cc: help-guix Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630571629; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=uvwo83ggV6yPOadWhIXqsZwUBjRnOqfwIlrKfYxZtiw=; b=R38RciAcAj8xMdTF8GDEUUusmfTxHv8XywJdSkBHpbGZLkJ+KyEFUNfXs/tBnutXXFYRnY ccm2mJKOUANa/xwLgaX4P7HGNNXw87Pu1OoxCQjSlHgBBakS51ldYcWh3u7CuIltDDxB47 ZmkTQ1v7M04AUy0iY3l0+0Q0lXMSOJEzTpTTKNukSOUjxJ6vYphmDvNcIKDXE9gwiT0acZ a/xnPlXGEPOpASpknNOc38iEXlJHibEXk2fvxNs0UMDpSdTStNS0Xozo8sN5SEzmBi/7Bp 8kq+LYFUauJJ6LQd+Ogorhgmzc/TvhAJ8qCFp9pNB8gR3HqwUTpPCeGqKKTWwA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630571629; a=rsa-sha256; cv=none; b=X/2I0nFzj91naqciDADkQfTKD1k02yWPgJarHkipqLjQW+O+6QZaAFaSXouxyY6vD1Nuvd RrO5rsG35e8qWuHg2AqoKEckr18IvB9UYiaOQrnRsPQ4ZGFoE6w/LbcpN94pvMF7+uRE6I g/+N3Kl8ugcvQcbrbWDDOXNGLXPolb/+gPWNbsJe9rB+J9nCIS+nHPbU3I5FfZbYbjdfoN xjzPMxp/N4QC9e65T68mHYLgDgcFxYnMsH0yzzaWjH/K1d6Wex1ddeTIJnFE3IUwsMikkv YzEdJlKTfOD9wkoHIK9I8Mbgbj8vA3j87d/e+5lgKUkJQZJwjLiYrFWT4PGCTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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-Spam-Score: -1.42 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 903F1358B X-Spam-Score: -1.42 X-Migadu-Scanner: scn1.migadu.com X-TUID: kltKp1D1tPnG Andreas Reuleaux writes: > OK, once more: I am beginning to understand your idea: > > you are fixing the guix core channel to a specific commit: > "9edb3f66fd807b096b48283debdcddccfea34bad" here, i.e. from Saturday, > Aug 28 2021 Yes, the channel is fixed and thus not pulled. > Maybe it is not the pulling itself that is so expensive, but > "Computing the Guix derivation..." (that is part of the pull command > as well apparently) ? > > Is it necessary to always have a complete Guix derivation built, when > I just want to update my system with some changes of my own? Yes, as far as I understand, for any pull a new derivation has to be built to reflect any change, but only as long as a commit has changed, and as a result of any package definition being modified. This is an inherent design of Guix, that derivations ought to be built. Someone better correct me on this statement. Changes are that I didn't get it right. There is more to read about it, and substantial work is been done to reduce build times. [1] [2] [1] https://guix.gnu.org/manual/en/html_node/Derivations.html [2] https://guix.gnu.org/en/blog/2021/building-derivations-how-complicated-= can-it-be/ > Summary line: I guess I am beginning to understand your idea, but it > practice it does not make a difference, as each pull still takes more > then 50sec. It might not, but it might help that while you are developing on your own channel, you do not want to surprisingly upgrade your profile because Guix' main channel pushed an update in the mean time. That can cost a lot of space, and more time and also, say, even a dependency on your package could change too. Yes, I've noticed that all pulls take time. There's a reason why I keep my old laptop at certain commits for longer periods now. It simply dosn't have the resources to do this. I do all the tricks -- offloading, package sharing -- to speed up the upgrade process. While looking around, supplying your package definitions from a file that can be found in within =E2=80=98GUIX_PACKAGE_PATH=E2=80=99 [3] gives y= ou the ability to pass on packages that do not need to be part of any channel. [3] https://guix.gnu.org/en/cookbook/en/html_node/GUIX_005fPACKAGE_005fPATH= .html#GUIX_005fPACKAGE_005fPATH Regards