From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:700:3204::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id wFoTMcQrnGUcMwAAkFu2QA (envelope-from ) for ; Mon, 08 Jan 2024 18:07:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id GMsILcQrnGWk+QAAe85BDQ (envelope-from ) for ; Mon, 08 Jan 2024 18:07:16 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=QZWCo9Nb; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1704733629; 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: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=QQamAZxPKLNMeTXJMxPbHY41xHDUwwVX8zpM8bCrz+k=; b=GhBkEdFwOkWAVqiGUj0VYQnU92eKte2nWrr8Nk/Ey0EA/VBaG/XUKjEC+ZiWBg/cS5us6L m+N9ELzWxjMpNCOSi1Z04pKXgBqhGNDhgjeRr8HBHi4aJqkIftGvfKFq23+raKu/BqJ5Q3 HS6wu628SD3YoD/QvfUEb2G83cuRX50zpprRT5MQnYNlOC22Xz3mTvmjREMdMcDUM/jxbI n5zS4FpzQ2qX3bzSIIrZiowTyNa5Ltk1/ixTprmD008h/ADw8ZNKIpCkVUBhk62Hj/J8Lh VWykjMcOcAm86p6Q9d6sVvW5/Qfu2sXNYf9WgDjHyhISIYEwY1DAC6KSLqhvaw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1704733629; a=rsa-sha256; cv=none; b=ClzCTOFzsF06UL5O9pDipZ9dqqdK+22fs2JWwCcvB+SRErAPPkPEIV7nWoTycZyOQAhqpE 8vMSPUVP+aH3AE5XMfnPFhVbJGFOir75fjV7kRjkEJGaOdRJw7Cim2lSHhze037I0Y6QfT zSuYyIKX8Fbc4VHT6wwBTlmTQMxgeg3+7JJ2s43Oa6cqtQGo9tmmNIeTZQ0GzDSM92/osM 5QcikSKr4frzZWjG1muCpzhG91agRCWfVVgIcwMPQ3mp7DwBLU3eG587BsSMGtiVLVi/hU rcD1x8bR4tTxDephceAa2Otetma7u3q2+jMjOlDGfi9y4QgCTyrVygbw8bCP3g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=QZWCo9Nb; 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"; dmarc=pass (policy=none) header.from=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 F40952592D for ; Mon, 8 Jan 2024 18:07:08 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rMt5X-0005jo-TM; Mon, 08 Jan 2024 12:06:59 -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 1rMt5V-0005iv-Uq for guix-patches@gnu.org; Mon, 08 Jan 2024 12:06:57 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rMt5U-0003vh-ME for guix-patches@gnu.org; Mon, 08 Jan 2024 12:06:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rMt5a-00077r-UQ for guix-patches@gnu.org; Mon, 08 Jan 2024 12:07:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68163] [PATCH] gnu: Prevent stale cache use when `%package-module-path' is parameterized. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Jan 2024 17:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68163 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: antlers Cc: dev@jpoiret.xyz, 68163@debbugs.gnu.org, zimon.toutoune@gmail.com, othacehe@gnu.org, me@tobias.gr, rekado@elephly.net, guix@cbaines.net Received: via spool by 68163-submit@debbugs.gnu.org id=B68163.170473358227306 (code B ref 68163); Mon, 08 Jan 2024 17:07:02 +0000 Received: (at 68163) by debbugs.gnu.org; 8 Jan 2024 17:06:22 +0000 Received: from localhost ([127.0.0.1]:37423 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMt4v-00076M-RR for submit@debbugs.gnu.org; Mon, 08 Jan 2024 12:06:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMt4u-00076A-3P for 68163@debbugs.gnu.org; Mon, 08 Jan 2024 12:06:20 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rMt4g-0003W0-Ak; Mon, 08 Jan 2024 12:06:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=QQamAZxPKLNMeTXJMxPbHY41xHDUwwVX8zpM8bCrz+k=; b=QZWCo9Nb/C1Spu2COVnO II6webbpHp/LesBM+dUZ3bBgax4cyVV4lwTZxzJ6IsRxLNdf5ZfkPrKHcYdLTDZcdar2T3JuuFHfu p9DbHjwJPqAeRq9d98pTBwRIKYPazsTn6KO3hW7DaXWFwbjzpjU70JylItgLsU6PqltqGgTmdtqr2 zOax7zzqxkYqO3T8J2scJ2eAgrK6wkjUnYlbNsZ3QUR6YFyp59JnVtcKA6iOydp7nWFosSnimqwhn I83Sdlw8B9/v0uzrz3aAN7aMqnG1hXII31uZ23UJI3wINuRMz6HdzOijiVjsk8IVF49gqb9Ogzk2/ fM7d/XCRS7x0zQ==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (antlers@illucid.net's message of "Sun, 31 Dec 2023 06:06:21 +0000") References: X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Nonidi 19 =?UTF-8?Q?Niv=C3=B4se?= an 232 de la =?UTF-8?Q?R=C3=A9volution,?= jour du Marbre X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 08 Jan 2024 18:06:02 +0100 Message-ID: <87a5pf4ux1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: F40952592D X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -5.51 X-Spam-Score: -5.51 X-TUID: R/4SHVioWly/ Hi, antlers skribis: > * gnu/packages.scm(find-package-by-name/direct): Convert `delay'-ed cache > construction in closure into a form memoized over `%package-module-path'. > > Change-Id: I6e4b4b3fa58082b79aacf307468aec43ec60bf22 > --- > This enables `specification->package' to be parameterized to resolve pack= ages > from within the module-under-compilation. > > I use this to parse my init.el[0] into packages in my guix-home profile, = all > in one repo. Looks like you forgot reference [0]. (I=E2=80=99m not sure I understand the use case but seeing your code will s= urely help!) Thanks, Ludo=E2=80=99.