From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aH66CZHUYWKy/AAAbAwnHQ (envelope-from ) for ; Fri, 22 Apr 2022 00:02:57 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id mFHbCJHUYWI0KwEAG6o9tA (envelope-from ) for ; Fri, 22 Apr 2022 00:02:57 +0200 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 AAADE19AC8 for ; Fri, 22 Apr 2022 00:02:56 +0200 (CEST) Received: from localhost ([::1]:45698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhet5-0001y1-Kh for larch@yhetil.org; Thu, 21 Apr 2022 18:02:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhet2-0001tU-LO for gwl-devel@gnu.org; Thu, 21 Apr 2022 18:02:52 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:48661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhesy-000244-U3 for gwl-devel@gnu.org; Thu, 21 Apr 2022 18:02:51 -0400 Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 23LM2d0e015332 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 21 Apr 2022 18:02:45 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 23LM2d0e015332 To: Ricardo Wurmus Cc: gwl-devel@gnu.org Subject: Re: Guile code snippet In-Reply-To: <87wnfiqhmd.fsf@elephly.net> References: <87h76oo26s.fsf@laura> <87r15srshn.fsf@elephly.net> <87ee1rohrk.fsf@laura> <87ilr3sawb.fsf@elephly.net> <874k2mo0vk.fsf@laura> <87ee1qs3qf.fsf@elephly.net> <87pmlaurla.fsf@laura> <87wnfiqhmd.fsf@elephly.net> Date: Thu, 21 Apr 2022 18:02:39 -0400 Message-ID: <87k0biumbk.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Thu, 21 Apr 2022 22:02:39 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=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: gwl-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+larch=yhetil.org@gnu.org Sender: "gwl-devel" Reply-to: Olivier Dion From: Olivier Dion via 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=1650578576; h=from:from:sender:sender:reply-to: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; bh=SCg1xjBTaJ/RL56NtZGMVf0tD+bIHzS4b52DyrEDbcA=; b=pKGPE3Cnf5Il5yLDWc8+fU04vHmE8OTXZTHxNNOJY3BKvUEYFV1/3e5OPYwJbgdRQ+Vmej 1lXd5UKbx6HX213Htn+xaOnGi3IoKUHzb6W8AvLHBdMa44k8472lzQCIkHxGLx/0O+oKy3 eo95PLXLqOWOTP7zTNkky25M6hAsljeN3wIBfJfnN8ZayqJlz/uUhNZ5yc/I3YO/wDst65 QMxqLX1ZhX/jibgj/gsW0r5cxhG4Xgo0H5vLF46NduGzC8N6zXKqbRkA6IViusFsCzJFqo CqDhy4kq4PtW0sACu/T7nhlMDuDUP+RgUA65E+Br5ftEAumPPZyJyjwB99phoQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1650578576; a=rsa-sha256; cv=none; b=Os8hjAXjzCRdZ16oXaM23loWUCPFCGMXTjKW2qiCe8lsQMIu3rd7r8XnMseOzGM5dHuQVY zswW5LIfP/AIHeOFUAhnAbU6JhsGU96t9B6pCaB/DFJLoBassegXSKCT7UUqoyMPRfWpYr MBqZ08zikp1WSxWfF2GubmCKpG51Hmg7ReMcAgkT6xlCaZSIQvXdp/n8kQO1JsgDYx/JWs 92JpWDRvXIjK76pv2YGs1HfbfOVrB5iGBBdqs7M3IRaIMpn+wFQzplMcgnF9W8aANiJSXu p38tfDDve0ipTDwe8ZpCsxfGaeSdEQFkyGg8PDOvLsaMRjYAX7Lar0svkX5j/A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.03 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AAADE19AC8 X-Spam-Score: -3.03 X-Migadu-Scanner: scn1.migadu.com X-TUID: fMe1JutqdXaM On Thu, 21 Apr 2022, Ricardo Wurmus wrote: > Olivier Dion writes: > >> On Thu, 21 Apr 2022, Ricardo Wurmus wrote: >>>>> This is now fixed with commit >>>>> dceec9ecb9e24252ab9130f7a3626c00b2ff1a68. >> >> I tried this: >> >> process foo >> packages "guile" "guile-fibers" >> # /bin/guile { >> (use-modules (fibers)) >> } > > > You=E2=80=99re missing =E2=80=9C-c=E2=80=9D. If you just use /bin/guile = it expects a file name, > just like it does on the command line. This works fine: > > process run > packages "guile" "guile-fibers" > # /bin/guile -c { > (use-modules (fibers)) > } Okay I confirm that this indeed work. Thanks! > >> Also tried this: >> >> process foo >> packages "guile" "guile-fibers" >> procedure >> . `(begin >> (use-modules (fibers))) > > I haven=E2=80=99t addressed this yet. > > What happens here is that we are in fact setting GUILE_LOAD_PATH and > GUILE_LOAD_COMPILED_PATH (as we do for any search path specification > associated with the list of packages), but that has no impact on the > load path of the Guile process used to evaluate the expression. > > I=E2=80=99ll investigate this. > > --=20 > Ricardo > --=20 Olivier Dion oldiob.dev