From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id YPq/Op0A7GGMPAEAgWs5BA (envelope-from ) for ; Sat, 22 Jan 2022 14:03:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qGIYN50A7GEEDQEAauVa8A (envelope-from ) for ; Sat, 22 Jan 2022 14:03:25 +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 8C458271D7 for ; Sat, 22 Jan 2022 14:03:25 +0100 (CET) Received: from localhost ([::1]:51388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBG3A-0000kq-OW for larch@yhetil.org; Sat, 22 Jan 2022 08:03:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBFrC-0004e2-Sg for guix-patches@gnu.org; Sat, 22 Jan 2022 07:51:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43087) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nBFrC-0001wd-Is for guix-patches@gnu.org; Sat, 22 Jan 2022 07:51:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nBFrC-0001E4-Fv for guix-patches@gnu.org; Sat, 22 Jan 2022 07:51:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53439] [PATCH] doc: Document search paths. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 22 Jan 2022 12:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53439 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , 53439@debbugs.gnu.org Received: via spool by 53439-submit@debbugs.gnu.org id=B53439.16428558064638 (code B ref 53439); Sat, 22 Jan 2022 12:51:02 +0000 Received: (at 53439) by debbugs.gnu.org; 22 Jan 2022 12:50:06 +0000 Received: from localhost ([127.0.0.1]:35990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBFqH-0001Ci-JV for submit@debbugs.gnu.org; Sat, 22 Jan 2022 07:50:06 -0500 Received: from albert.telenet-ops.be ([195.130.137.90]:52784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBFqF-0001CY-CK for 53439@debbugs.gnu.org; Sat, 22 Jan 2022 07:50:03 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id loq12600H4UW6Th06oq1oN; Sat, 22 Jan 2022 13:50:02 +0100 Message-ID: From: Maxime Devos Date: Sat, 22 Jan 2022 13:49:57 +0100 In-Reply-To: <20220122104757.1837-1-ludo@gnu.org> References: <20220122104757.1837-1-ludo@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-2c+lyR73tneSkBueTurj" 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=1642855802; bh=qzSPhK8RJGltIR34DQsLAxkk8ks6IPY2GJgOjaJNKl4=; h=Subject:From:To:Date:In-Reply-To:References; b=ls/BCc8R5hgdgLL58t+MMku9puIkg4AWX+WCrgGCxKAAM9+lmma1kFQuSmQ+NX//z sAs2O6Zp7WbHRbNUWpuESvddMMSqoLEOD0XZb1+G71v5vn+PCn8nEoFyQRQLX6VXAW W0knNMQJQrCRtfglP8dwIZPLwqz3KG3u61Dj9PtaBLAropgrjYrt1acIV7+3SmJAsP WqoBxwYkC73rL5fe8QQsA69C60RCQxAWTf6KRRzAqejdvHj+wDM07Ylfm2NYIOzx96 mLhoED3hXRKVE1sfktBsLTETNUtUxxdXvC0hVo8n2KZn/RAAZYQpxbLt0geLgmEGRx g18b/gfUOjFPA== 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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642856605; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=qzSPhK8RJGltIR34DQsLAxkk8ks6IPY2GJgOjaJNKl4=; b=hX2D7W+wZNioC59sA5AbDNDFEGFpHnGosx2LjLUZSJzZX7kEJ2K4M9WIquo3go43JhKaA5 d9Npb+DKykYKaflUUcQeUBEkI3LUUy10IIDZEFIAGu4RFg5D6ANm1ywdYONclxek7dEpZJ 5TYLhMrxou96ijSEfo0obBiuJCPO8FdhhwJd070/KcjDvEFYfBk5ss+PX9M+hL5DNgkMmZ gk1w+kuD/6dt8UMb1eyLzOfigHXRCcwQ71KJMz4oj//wGLLaMskSe0cg9qKIEUKAggTDLs B6VdHnT93A8p3AfB0YjR4IOUmPsfX3nDZU7SSJhZByZauvm2bozI5bftpm/6zA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642856605; a=rsa-sha256; cv=none; b=ON2TWE3OG49ZEk8/hy6SKdrAUbR81bpNmjrmOkAwrhd7bLqpyuIj3o7zlOGs6iOMa8H7Sf FUFGjT4CJ3TL9kZYzQs3m3J/TXiOyEcLy7oHTMj2NMXFj5VS0zgy3lsinyIRMvItulem1S g43Q1jkPHKJI5w7IfMzqFrLSoyal5LC9W9sKQi6b+6bz7QMX58Bbf8WYrraEWlNbhh2HH4 FMRCqy2tewNDUQDnGGDfsuyeICR5b5Xk4oejnvmr7PH+TYOAeNkkl+DeyRxWwPhPsFW3Qi +8TkzOGF2X6g73NinLG2rxCtzizD3IjXa0jbzrZtgp54ptmhUDNHNrXpdxgsTw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b="ls/BCc8R"; 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: -5.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b="ls/BCc8R"; 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: 8C458271D7 X-Spam-Score: -5.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: SPKYXF1OYG46 --=-2c+lyR73tneSkBueTurj Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op za 22-01-2022 om 11:47 [+0100]: > +What this @code{native-search-paths} field says is that, when the > +@code{python} package is used, the @env{GUIX_PYTHONPATH} environment > +variable must be defined to include all the > +@file{lib/python/3.9/site-packages} sub-directories encountered in its > +environment.=C2=A0 (The @code{native-} bit means that, if we are in a > +cross-compilation environment, only native inputs may be added to the > +search path.)=C2=A0 In the NumPy example above, the profile where This bit about inputs/native-inputs seems a little imprecise: (package (name "foobarify") [...] (inputs guile) (propagated-inputs ;; TODO: would be nice to unpropagate (list=C2=A0guile-foo guile-bar guile-ify)) ;; "foobarify" allows running arbitrary Guile scripts, ;; so allow the user to use arbitrary Guile libraries ;; from the environment in their scripts at will. (native-search-paths [GUILE_LOAD_PATH, GUILE_LOAD_COMPILED_PATH, ...])) $ [ guix cross-compile a virtual image with foobarify in the system profile] IIUC, guile-foo, guile-bar and guile-ify will be included in the GUILE_LOAD_PATH/GUILE_LOAD_COMPILED_PATH of the system profile, even though we are cross-compiling and they are 'inputs' and not 'native- inputs' of 'foobarify' ... Greetings, Maxime. --=-2c+lyR73tneSkBueTurj 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+4iGRcl7gUCYev9dRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7pKFAP9Il9TOu8CNJNZ/Z5iIUMrAWgfu 88BHOp/lVKFPZE2zyQEA3jb+vFHDYlV1ZMK1PUuf8uVnH10xopgz5k57Mm/Jow4= =uTXz -----END PGP SIGNATURE----- --=-2c+lyR73tneSkBueTurj--