From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 4D5OOJx6pGWuSwAA62LTzQ:P1 (envelope-from ) for ; Mon, 15 Jan 2024 01:21:49 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4D5OOJx6pGWuSwAA62LTzQ (envelope-from ) for ; Mon, 15 Jan 2024 01:21:49 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=K6oHvUBh; 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=pass (policy=none) header.from=lendvai.name ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1705278108; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=OlOVxr6303WpASPs8Ne3cnUsQlfUMAX5um7EANYGStE=; b=ZBZfy3bTWYJRVTURwH2FUdPy+c3H3Uc7Yygr1+4y/uBm2I99QeNiFUypgspo2dWnzw83v7 DWq/uMc2yl5ddv51noOJSIRRJRpEsvDO+943CPn8ZktaPSMU3iF9b9MeEuGp0tYEHHgnci WJWeigZ+dIF56j0KxdL4FTsUhCAV/kzWQRHPbLvahG+m2FuRlERCPdkNaDkK3R50ENpe6q Ur77GaM3orUREVKHeOdFRDVK7fkfa+G2yOgbZOUDvLa5vAFGR7v9awvfxdGi/lKDIzqEyX 7FAqvwLxnmMPzh8/JmYUYi9Cx2IfDAeAam6XDcB4e8UZ/IAE/Tt9jk2cVrNWDQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=K6oHvUBh; 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=pass (policy=none) header.from=lendvai.name ARC-Seal: i=1; s=key1; d=yhetil.org; t=1705278108; a=rsa-sha256; cv=none; b=svPT+RO6f7Hg/K8xNtM+ew2IGnYG2vXRxMwyrTC9iR4VtVGi5iNfI5YIhaYQdP2yzechAN slva2uL+WkoA/ku6ByzUmeQ8F5M0sBys4hVq9fdfK/td16m7k3WViR4EeHDrsTnIDYsVNU XIV745F5YRTkncmwdSq1O4M95jFq1ND6YwUkqF9r9otfHccaUQZ9f7wowwVVGSsAjimNpJ w4a/jHEoHwLXv4Oc0CSU5rZGuVFg/UYiM2IdAwdcpP9ECBbyju9rBthyQDW70VRx6t1qw5 RohplSMTadctLOfkGs0ymg7zSOXZx1ccwXsHyJBb07Rr2xV/5JVtaMMqSZGX3Q== 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 D15DD403DB for ; Mon, 15 Jan 2024 01:21:48 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPAj1-0004tl-0Q; Sun, 14 Jan 2024 19:21:11 -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 1rPAiz-0004tV-0T for guix-devel@gnu.org; Sun, 14 Jan 2024 19:21:09 -0500 Received: from mail-4018.proton.ch ([185.70.40.18]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPAiu-000470-0C for guix-devel@gnu.org; Sun, 14 Jan 2024 19:21:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail; t=1705278053; x=1705537253; bh=OlOVxr6303WpASPs8Ne3cnUsQlfUMAX5um7EANYGStE=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=K6oHvUBhu18BdlLQkusZqrdbkO/ItPyAfG3ADGenHRlxZyFFzKtiVGZzlq4FGAwGB UTdhGsprS8xjc5PZQ17gMww83+F8MalMP+OdmYOb8+ypu91D1fMYCjxnk4Y/ENtEAa rXVTzRQa9Y7oO/RcOPLv8aFpUA8P6IsyXfj2gEWB8sZI2DiqQbJ+BGFwiOPKw0stqi Cw520OnqrJz6fjpMnwxHbmzrfQvJo8QOYdCaJxiZ/SUN9Hla5Inmr6AfMEXoQTdJwf 3eaGkVBblOdevnitWHvSVhfApdMF/MmkEhAkhFiNcPpwPtuw7gCCP29IoEBBCapiKN xgDMO23/2qulQ== Date: Mon, 15 Jan 2024 00:20:39 +0000 To: Tomas Volf <~@wolfsden.cz> From: Attila Lendvai Cc: Felix Lechner , guix-devel@gnu.org Subject: Re: Module unavailable on build side Message-ID: <2_NlvTw4Q4mx5LcLCTK6OBFEH0ad8y_XpRkdXT15AnZqrJh2c29dZ_mYhfEChAKWmCez3JpFpxABl36Ni_9GGo7CyZymI3eaKeKhhdXPvB8=@lendvai.name> In-Reply-To: References: <87cyu44kp5.fsf@lease-up.com> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.18; envelope-from=attila@lendvai.name; helo=mail-4018.proton.ch 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, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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: -4.88 X-Migadu-Queue-Id: D15DD403DB X-Spam-Score: -4.88 X-Migadu-Scanner: mx11.migadu.com X-TUID: uztpvURJxah+ this may help: https://github.com/attila-lendvai/guix-crypto/blob/main/src/guix-crypto/ser= vice-utils.scm#L56 and you should grep for its use in that repo. w-i-m ensures that the GEXP's that are instantiated in its dynamic extent w= ill "capture" these modules as their dependencies, and i think it also inse= rts the appropriate use-modules forms at the head of the GEXP's. but take this all with a grain of salt, because what i understand i decoded= on my own from the guix codebase, and the names of these abstractions are = rather misleading. also, i'm using these in the service code that gets compiled for shepherd t= o be loaded. the environment surrounding the building of packages may behav= e differently. HTH, --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CThere is no difference between living and learning [=E2=80=A6] it = is impossible and misleading and harmful to think of them as being separate= .=E2=80=9D =09=E2=80=94 John Holt (1923=E2=80=931985)