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 ms11 with LMTPS id siKHGWJ+Vl9eQAAA0tVLHw (envelope-from ) for ; Mon, 07 Sep 2020 18:39:30 +0000 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 iIbXFGJ+Vl9oCQAAbx9fmQ (envelope-from ) for ; Mon, 07 Sep 2020 18:39:30 +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 CF347940309 for ; Mon, 7 Sep 2020 18:39:29 +0000 (UTC) Received: from localhost ([::1]:54380 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kFM36-0004oy-Ph for larch@yhetil.org; Mon, 07 Sep 2020 14:39:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44536) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFLwD-00022t-75 for guix-devel@gnu.org; Mon, 07 Sep 2020 14:32:21 -0400 Received: from world.peace.net ([64.112.178.59]:56882) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kFLw5-0005sm-Ag; Mon, 07 Sep 2020 14:32:20 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kFLvs-0001NN-Q0; Mon, 07 Sep 2020 14:32:01 -0400 From: Mark H Weaver To: Ludovic =?utf-8?Q?Court=C3=A8s?= , maxim.cournoyer@gmail.com Subject: Re: Dependency cycle issues when using a Gexp-based snippet In-Reply-To: <87wo1nzr6p.fsf@gnu.org> References: <87h7ssx07p.fsf@gmail.com> <87wo1nzr6p.fsf@gnu.org> Date: Mon, 07 Sep 2020 14:30:41 -0400 Message-ID: <87mu21cuc3.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=64.112.178.59; envelope-from=mhw@netris.org; helo=world.peace.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/07 14:32:01 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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_NONE=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.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: aA6ycM+XteZJ Hi Ludovic, Ludovic Court=C3=A8s writes: > Indeed: the problem is that when loading this module, we try to resolve > one of the variables referenced in the snippet, but that variable is not > defined yet because it comes from a module that=E2=80=99s in a dependency= circle > with the one at hand. [...] > As Marius noted before, the snippets for ungoogled-chromium and > linux-libre are contrived because of this limitation. (Perhaps we can > use =E2=80=98delayed=E2=80=99 instead of =E2=80=98thunked=E2=80=99.) I can't speak for ungoogled-chromium, but for Linux-libre and IceCat, there's at least one other limitation in snippets that are preventing us from using them: the names of the pre- and post-snippet directories must be the same. In the case of IceCat, that would force us to either (1) mislabel the upstream firefox source as "icecat", or (2) mislabel the transformed icecat source as "firefox". Ditto for "linux-libre" vs "linux". Thanks, Mark