From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id WBSvJdp0RGYmeAEAqHPOHw:P1 (envelope-from ) for ; Wed, 15 May 2024 10:39:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id WBSvJdp0RGYmeAEAqHPOHw (envelope-from ) for ; Wed, 15 May 2024 10:39:54 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=venNQj9I; dmarc=pass (policy=reject) header.from=jpoiret.xyz; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1715762394; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rW44JiuyqP4lZj8DAuOlA1GbWKgKhahIGDGj/jZGPHg=; b=B1g8hlXXZA5ZcLldLhvOjnoG90b54JO71CPIArvxRRLOUJLYNjtSyu/KJ57nYubOIBmzwf d37F2a4tyXG4NWJ5Gy9h07hG5GP47WC+aqf9p/4JRIm3OBde2t+F2vO8bZnWOlyGSUzTxe ddXNtaHOnf755Q8EtKgiDS/rjyb2FUEb/uTHfslpou14/jw02DzzI+RVDE94cC6cWb9xeS EAojGqXDXbeWhP/4h4Z3nSxBIRP3ixDJyNRXDQL85qCVTTVJao/R8X5n2VBaoOIA1gN89D Y/sZKlW17F4ycUeb774KTIyb6+5gIFWlDWpzl1c4v63Koq0PMOI+gvqhEGjAPQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1715762394; a=rsa-sha256; cv=none; b=SMBWJKOfSHinoRs3Zcnm2v3OR6j0qySi5yRclczCi+112w+AHnyGTSmmjtv+Ourgzgxjs6 DyDkY5hRGTEfU8AIzZpM/Z8wKUqyi9nrwY7TZUrbBd9kJp8MOZFKKj84/zZ5N/xsSsHvZD IPOl+ctOfnTcWnP735jRDoqHDGADZQ+n6DsPhJh3IhJDCkZqHsqu6B5HbOA94eBcZuRgSx zEm8YKG7nzHzGlLecCiXI3w/N/KcbxPz/Ox5uFFnCDApkbG4Gmx5oNdDAcfvPaKukaW5h2 ZNWE/lPyt5ze8ROiyAllv604g1Z3kSqd7ee3aaQ2vsUt6h/jps6sXEDoVriDLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=jpoiret.xyz header.s=dkim header.b=venNQj9I; dmarc=pass (policy=reject) header.from=jpoiret.xyz; 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" 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 765833A11C for ; Wed, 15 May 2024 10:39:54 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s7AAO-0006r6-DS; Wed, 15 May 2024 04:39:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7AAM-0006qn-NH for guix-devel@gnu.org; Wed, 15 May 2024 04:39:14 -0400 Received: from jpoiret.xyz ([206.189.101.64]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s7AA9-0007GE-Pe; Wed, 15 May 2024 04:39:13 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 0AE7F18545C; Wed, 15 May 2024 08:38:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1715762332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=rW44JiuyqP4lZj8DAuOlA1GbWKgKhahIGDGj/jZGPHg=; b=venNQj9IXiIg6DMaNdWGnRqyDMyuHjIBVmPaJK8ZnWhjxFq83FZ7kCpcb0SxZFnHa1EgQs Nj8+GRyWqtiJkmpkRwZDmh/p5W5XMKF/x/ntTmdVojV3+xIBjM+6wb5X/qL33dIB6c2a0t idu8mUHLfZW/P3P8kk/4lZnTYzpA+eikeJ8+mSOHuYH4OfZ9hcb733RHgDBXR1cfneSq1A fOeunYDKXZoyCZ6B9fiAvmf++Tzmre9CtBqbKco3tIRHJapF+KAAUxKbQiSJExaonpyI4q ZwQct7RgikOvi26X7cpBFL+K0vs9S+UWHsv5U85bNdMwFKT/pQQCpMO8eyocwg== From: Josselin Poiret To: Edouard Klein , Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Subject: Re: Guix pull: avoiding "Computing Guix derivation" In-Reply-To: <87r0e44f4s.fsf@rdklein.fr> References: <874jb16993.fsf@rdklein.fr> <87r0e43do0.fsf@gnu.org> <87r0e44f4s.fsf@rdklein.fr> Date: Wed, 15 May 2024 10:38:49 +0200 Message-ID: <87zfsr1nc6.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spamd-Bar: / Received-SPF: pass client-ip=206.189.101.64; envelope-from=dev@jpoiret.xyz; helo=jpoiret.xyz 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.36 X-Spam-Score: -8.36 X-Migadu-Queue-Id: 765833A11C X-Migadu-Scanner: mx11.migadu.com X-TUID: D9xjQZXgW+WT --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi everyone, Edouard Klein writes: > I think my misunderstanding boils down to a bad mental model of how guix > works. > > What I imagine the "Computing guix derivation" step to be is no > different than building a package whose inputs are the channels' > sources, guile, and the current guix, and whose output is the new guix. > > Simon and Richard pointed out that the combinatorial combination of all > possible input combination makes this hard to substitute, but I don't > understand how its result, once in the store, can't lead to a simple > linking from the profile to the store, instead of re-running the > "Computing guix derivation" step when guix pull is called with the same > inputs. > > Surely my mental model is wrong somehow ? You might be interested in this thread [1], which tries to explain the terrible performance of `guix pull`. [1] mid:87wmxe3vsa.fsf@jpoiret.xyz https://yhetil.org/guix/87wmxe3vsa.fsf@jpoiret.xyz/ Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmZEdJkQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5Fhcaih23C/9QHAULwRaLgriX6t4PuozqSggn6Hj5MyGt AfsaWPsTG7utavU/zDtdD35sWtRg7TTiMaEON/q/i6qohl7TS+l9F96N4AtBznB3 hj3ZsHtfgk25mEI5Fyq2qbUG22PLU9vZCt53SdQXfslj5p8FJm/xDFWgJU4JqFmA T4klY4bZIHcYvey/sXqyw5ZEfGq6lDD5GWvekYkHWaDcV50KrPyEuR1RRRl707yo L30OPE5K76vVSanEsyUUFdq4pzzj6gLSsdY3vj/x5il8yK3x5pOSNOeYuBsqDYhb k9pQKln9sxGO/at2U/cceVG0ba+33Uyr257HIgjYEOd5Sew+ia5wIVc6HN8M+Nwk 5UQ3D0rE7SwP2jjL3meh9MyAOK4EmWuMCT2m2sCwEQcHvnPhaBtmGAk52G3Z0rEP Brq1VWHeE/Ec0kAJvln4ue/Rk8R7jRGU5XwQGE8+kGVUBQnsiif77C8U+WzDDyWK EvCZxEnuIYeFEPfBxEpj1gzTB8FHgTs= =JLkI -----END PGP SIGNATURE----- --=-=-=--