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 ms0.migadu.com with LMTPS id cJSZJXkAPmKpAwEAgWs5BA (envelope-from ) for ; Fri, 25 Mar 2022 18:48:41 +0100 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 0IswHnkAPmKIKQEAG6o9tA (envelope-from ) for ; Fri, 25 Mar 2022 18:48:41 +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 21B272FE37 for ; Fri, 25 Mar 2022 18:48:41 +0100 (CET) Received: from localhost ([::1]:46558 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXo3E-0007OX-7L for larch@yhetil.org; Fri, 25 Mar 2022 13:48:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44194) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXo2n-0007OL-1I for guix-patches@gnu.org; Fri, 25 Mar 2022 13:48:13 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58479) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXo2b-0005iE-MS for guix-patches@gnu.org; Fri, 25 Mar 2022 13:48:11 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXo2b-0004ke-L8 for guix-patches@gnu.org; Fri, 25 Mar 2022 13:48:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#54539] [PATCH 0/6] Start breaking up import cycles Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Mar 2022 17:48:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54539 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: zimoun , Liliana Marie Prikler Cc: 54539@debbugs.gnu.org Received: via spool by 54539-submit@debbugs.gnu.org id=B54539.164823042318059 (code B ref 54539); Fri, 25 Mar 2022 17:48:01 +0000 Received: (at 54539) by debbugs.gnu.org; 25 Mar 2022 17:47:03 +0000 Received: from localhost ([127.0.0.1]:52376 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXo1f-0004hD-K3 for submit@debbugs.gnu.org; Fri, 25 Mar 2022 13:47:03 -0400 Received: from michel.telenet-ops.be ([195.130.137.88]:43784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXo1c-0004gm-Np for 54539@debbugs.gnu.org; Fri, 25 Mar 2022 13:47:01 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by michel.telenet-ops.be with bizsmtp id Ahmy270074UW6Th06hmyWG; Fri, 25 Mar 2022 18:46:59 +0100 Message-ID: From: Maxime Devos Date: Fri, 25 Mar 2022 18:46:54 +0100 In-Reply-To: References: <5a87d6f772ff7424cb6fccea7c45276bef7797aa.camel@telenet.be> <5ab234b577c15dd50c36aaf427cce593404b52dc.camel@ist.tugraz.at> <2b5a3af9bd4ea9ec79ad9f9636ed344a51ba7a81.camel@telenet.be> <84da9090d9dee87855ee4f5b2f5442ad919ea032.camel@ist.tugraz.at> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-NZVnaShC+ryC7oGUF6Pn" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1648230419; bh=2+jSs6XGzfDcqSRDXfM7B2no8c2dAV4rL6mw3Qarz4k=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=gL2wY1ou5osJqzp7UzmNIAE1s2ODQJhDYc4RbcxoSivHDHz1c1i61zOvFYjPMDofA +TxC20DiorHFp2Cqc/nSXqKj10UEme4948+lOyBcQG19qLocPp93XcUZmca7BHiduh ySOve7yPYiRuc4N32U3nwJt1o8SXg1cGHjIqnJ0pVU1wnS+TTqCWFlx7yhXTYGF2Qz B3Ibd7DDTOvxh2EtzSrmYB+r7bu8e5ujSljad+QYdJPWUvoNvXqghdoHKc1f69jaxP qi0aPh/4Gl+Eo1BrZCWDwYfcdO4+KP5IBahviYNwDJpPAfAOVSWq+SM6eH3rTihLRl 7HTeW+VwDV4yA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" 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=1648230521; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=2+jSs6XGzfDcqSRDXfM7B2no8c2dAV4rL6mw3Qarz4k=; b=nHvMFREAAQhB2zNV7n25YjgN62MID8wvhHnU1dmNbQuIWPltQixGsBnhH4hBQryMfYI7c4 n+7ULRScBSr+0eA1NGm+XByTD6wUTLjpd6Dkv1+QIohp6MtHMJb9WXhN/r9FwK5yksicS2 Qha9PBGfS7cHmV8cDuz7m/ix4VItcLNHu1pbPA2Ecly60bBxighSxc0q6rwE2ziaqEyW9b ottRRgOif3cNBb+Zu544t4g+Yfqd0Lx/tzYtWzPdUPfrUcdHNi8jw1QHzeddX30wAnHaoh NaPRBXT1rao2stqc41WjB+SO24IH/uY3CjSbL7808Rlc5xFwcsHYa3E0mm5ssQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1648230521; a=rsa-sha256; cv=none; b=evauOph0WlRQcf/AN4UfiFHb8wkyMIBTG8U0VL7RrAlrAWpfZ3oljZwRfErz8rwPRJ02ox fw9jpofmHuy4QDZfomxiAfskkSws+TMA/nASaui6EFGYcIzlGSJxBjtsP/2jOlSnTCJZsr i4rHgcM8heTuRGbtvzC3HyKmLQOVGdkXJ9YLjooVIGifsKvDSROo9yrK01gweWz9fYkPir W0KumP1iXVKzY6HDiXnOZaD16c4d9zFico3rBT3kU8S3D9mxdhNwoPE8vGxIzA9M6AX0D9 jfNtZxMuy/dyV/3MufD6pLKbk5u9uoXNckv4wQpdJJ+pX7nwq/ht3qOw/X7wBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=gL2wY1ou; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 3.72 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=gL2wY1ou; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 21B272FE37 X-Spam-Score: 3.72 X-Migadu-Scanner: scn1.migadu.com X-TUID: UEx4lveHGnZh --=-NZVnaShC+ryC7oGUF6Pn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable zimoun schreef op vr 25-03-2022 om 18:05 [+0100]: > To be honest, I am not sure to understand the aim of reorganizing the > modules... I mean, to me, the only important metrics is the > performance of the end-user.=C2=A0 If there is no performance improvement > when cutting cycle, then it appears to me pointless to cut cycles. :-) FWIW, there are three goals here: * Allowing writing stuff like (use-modules (gnu packages ncurses)) (package (name "some-terminal-app") [...] ;; Work-around the =E2=80=98search path of dependencies not propagate= d=E2=80=99 bug. (native-search-paths (package-native-search-paths ncurses))) without getting 'unbound variable' errors. Alternatively, the search-path-specification could be defined in, say, (guix search-paths) next to $PATH but that proposal seems to have been rejected. * Making "compute-guix-derivation" faster by reducing the number of (uncompiled!) package module files it needs to load. =20 * Eventually making the =E2=80=98incremental compilation=E2=80=99 by fine= -grained derivations proposal from the =E2=80=98Faster "guix pull" by incremental compilatio= n and non-circular modules?=E2=80=99 thread [0] feasible. As a side benefit, it makes the output of "guix graph --type=3Dmodule foo" less cluttered and presumably reduces the module closure (a likely side-effect of breaking cycles), making "guix show foo" (*) a bit faster. (*) FWIW, on my machine, "guix show guix" takes 1.6s. [0]: Greetings, Maxime. --=-NZVnaShC+ryC7oGUF6Pn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYj4ADhccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7g65APoDxmOgfnnTrf8Qmjv8ATV+eR8c OfKnGhbNznvPtKMeVQD/RYvSnEXRm8qz/td+Va+OS5NsOYPj5uRmBNVvE6S39Ak= =hu6y -----END PGP SIGNATURE----- --=-NZVnaShC+ryC7oGUF6Pn--