From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id gB5LJYJV42Nb2AAAbAwnHQ (envelope-from ) for ; Wed, 08 Feb 2023 08:55:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id eIiFJIJV42N0vgAAG6o9tA (envelope-from ) for ; Wed, 08 Feb 2023 08:55:46 +0100 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 64FC211E1B for ; Wed, 8 Feb 2023 08:55:46 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPfIb-0000i7-2t; Wed, 08 Feb 2023 02:55:25 -0500 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 1pPfIW-0000hr-M5 for guix-devel@gnu.org; Wed, 08 Feb 2023 02:55:20 -0500 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pPfIV-0002cV-2N; Wed, 08 Feb 2023 02:55:20 -0500 Received: from localhost (unknown [IPv6:2a02:1808:280:f63d:f055:17e:cfb4:3]) by mira.cbaines.net (Postfix) with ESMTPSA id 3625E16D28; Wed, 8 Feb 2023 07:55:16 +0000 (GMT) Received: from felis (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id b11fbec9; Wed, 8 Feb 2023 07:55:14 +0000 (UTC) References: <87h78tbthh.fsf@cbaines.net> <87zgmbcefg.fsf@gnu.org> <87zgabrk2k.fsf@cbaines.net> User-agent: mu4e 1.8.11; emacs 28.2 From: Christopher Baines To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Subject: Re: Expensive builds when computing channel instance derivations Date: Wed, 08 Feb 2023 08:42:15 +0100 In-reply-to: <87zgabrk2k.fsf@cbaines.net> Message-ID: <87wn4s7frx.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net 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, 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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"; dmarc=none ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675842946; a=rsa-sha256; cv=none; b=leJ0RoRPE70+9ZGpQlL4ZcPppAxSTE5FV9rDAvusebh/1ldlO7WcCymMaQa28WsjPuCVau WY1TTdTkfqtdpWkhrbAodszXTXn42jcOBKqXa0RGY0t24EEASnB9oT6anN3sKAApr0NN2w cFJNaew8o2yPW5b1/PsveOpUt48SxmtvWZ95lQVXHGG41Ghb5W5eaPdAJVD3gZw9szPPw9 j8xCIB9jiceaZ2dGM8EDH7gvbS6UjmtvGCXSR9jKkG7VJYtlPo6gUo7nBcvY85qRAMPyuu TKq2Ww5JzI1vgdJBBugSexxSOXTZU0mCQ+ueEG92D+MBJ3uX6az1G+fTch4qMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675842946; 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; bh=oQ58vG1+l5BMl3/LVW4E64gmYF/mTP9h14VruPROZN0=; b=r7A1mysc/oDi9HnibQ2qS8YiuBYEOhYA5JA6T8kFPTk9aArHEyjEdddYvzVM51fM0uTsHt Bvp3gPmvrhJkKy/+1oIwwZJLjNFP+fJM8QVjMKKOKrSguEWJvMjnYQaodWWwhNrhz2PJZa h9/PlkDNgqqwY1WQKeU6K8nSbPsakXj+MpbDzlZRiZUUBAxLrJbf2C37tEha4ugzJzajGi ECXLjc60StnSgyPhQWAhgJ4rPuRRjgejsgUReKG/4kxdhUMSFHi/qyWL1JSXCN94bv5ua2 K4T/VU+qOvSy4lPQ157ST+rOVpaG3NeLWB+fIKFWztSD9cGOj+jWrf9nzfXr2Q== X-Migadu-Queue-Id: 64FC211E1B X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; 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"; dmarc=none X-Migadu-Spam-Score: -5.49 X-Spam-Score: -5.49 X-TUID: yRhFpLxWby3M --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Christopher Baines writes: >> It would be tempting to turn off grafts in this case. But then, =E2=80= =98guix >> pull=E2=80=99 would always give us an ungrafted Guix, which is undesirab= le. For >> the purposes of the Data Service though, you could consider turning off >> grafts globally. > > I get that not applying grafts to guix could be undesirable, but I'm > still don't see why there aren't other options? > > What would be the implications of treating it like package grafting. As > in, you'd always build guix without grafts, then you'd apply the > grafting process to the ungrafted output? That would be more consistent > with the way it works for packages, and it would probably go all or some > of the way to resolve the issues for the Guix Data Service. I've actually surprised myself by making some quick progress on this. I think I see now why the current situation is not really anything more than the normal package grafting code applying to the computing of the guix derivation. I've sent some patches which seem to superficially work to [1]. 1: https://issues.guix.gnu.org/61363 Thanks, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmPjVWJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XeQRw/+OFphPjaNXjbXZi6A5zJm5cgm/OIA5ext +V802CoQWdXyPYUxEInImvRat0CyG8NaHyTYXhx15rrW20JCgcQLTC7mJKD6xjKb v7N8fsqOh+SeFX9OrzOR2GfCMvncD4qgC2+HhbekQre9UbAvOk3NHxomGSP/LD1z zMozUfbnnpOxupKedQZA2Xp6VIv+XdW6v0vF00S9MMIff3YbLdvxpDti62vQsmNx Hf0RZCPUQMjlimWPH07rnscI6v7p353+qtfIozTNWlb9Y4wQdCUXmzMAcj5sY2zD KaclCQ7OQbtGkb8iohDxZTreSw0ROkGbY0Fafm+6VQUlMnzojEXOYJKs3+3ZzLmp 4NCPNeR7maJ75btcB8odLP6NK3g3T8NfVQ9GV9BDBzBgYl19x6/fXVa3Tg+Q3vHy YFzVx22V+cm1I8/hz0NzKmxODP2dV4IWmNLbp+/hkztLvHwSMEHRK44G0Vvgx0SF O2Z2lZ3+VtTVObcaVRID8kJqY8bl+JZo+7WJB+DtaTUdYJjqdT7DFx7zMohoImWe 2pxj2iFHmnRh3SHkzHCSoCJNPo8A8hE4iUaQxJ13BhXuD5xgGXOonSSqN814GEOn +q+p9w2A32bivm+kKNtUVpIsU6UXqYsiatQgOPa1HmxruXpHPQWJukSEpJvLst19 uVe2bZzUZaE= =6HmS -----END PGP SIGNATURE----- --=-=-=--