From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id pR63LmVyZl+QfwAA0tVLHw (envelope-from ) for ; Sat, 19 Sep 2020 21:04:37 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id mM4PKmVyZl8DAgAAB5/wlQ (envelope-from ) for ; Sat, 19 Sep 2020 21:04:37 +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 4CE369402B0 for ; Sat, 19 Sep 2020 21:04:37 +0000 (UTC) Received: from localhost ([::1]:36248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJk28-0001AV-8m for larch@yhetil.org; Sat, 19 Sep 2020 17:04:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44924) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kJk1a-00019j-5P for bug-guix@gnu.org; Sat, 19 Sep 2020 17:04:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36694) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kJk1Z-0008Q5-PK for bug-guix@gnu.org; Sat, 19 Sep 2020 17:04:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kJk1Z-0002vn-M6 for bug-guix@gnu.org; Sat, 19 Sep 2020 17:04:01 -0400 Subject: bug#42688: Running a script with `guix repl` doesn't "see" additional channels using (%package-module-path) Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Sat, 19 Sep 2020 21:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 42688 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Leo Prikler Mail-Followup-To: 42688@debbugs.gnu.org, ludo@gnu.org, pkill9@runbox.com Received: via spool by 42688-done@debbugs.gnu.org id=D42688.160054939811208 (code D ref 42688); Sat, 19 Sep 2020 21:04:01 +0000 Received: (at 42688-done) by debbugs.gnu.org; 19 Sep 2020 21:03:18 +0000 Received: from localhost ([127.0.0.1]:48239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJk0s-0002ui-0Q for submit@debbugs.gnu.org; Sat, 19 Sep 2020 17:03:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37944) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kJk0q-0002uV-QT for 42688-done@debbugs.gnu.org; Sat, 19 Sep 2020 17:03:17 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52316) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kJk0j-0008M3-Fm; Sat, 19 Sep 2020 17:03:09 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49402 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kJk0j-0002ok-1b; Sat, 19 Sep 2020 17:03:09 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20200803043331.78b20336@runbox.com> <874knws9mu.fsf@gnu.org> <34cc318a15bd8070d0863214864687c0d45a414c.camel@student.tugraz.at> <877dss9q2q.fsf@gnu.org> <277bbd8c36ab16b4bc2abb50a6e75f6adeaeb183.camel@student.tugraz.at> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Jour de la Raison de =?UTF-8?Q?l'Ann=C3=A9e?= 228 de la =?UTF-8?Q?R=C3=A9volution?= 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: Sat, 19 Sep 2020 23:03:07 +0200 In-Reply-To: <277bbd8c36ab16b4bc2abb50a6e75f6adeaeb183.camel@student.tugraz.at> (Leo Prikler's message of "Thu, 17 Sep 2020 21:56:52 +0200") Message-ID: <87363dpjhw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 42688-done@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: W1HUItpaRMGu Hello, Leo Prikler skribis: > With that however, I am no longer so sure. The initial program > arguments are part of the UI, but at the same time, that would make it > not UI-free to begin with. Kinda strengthens the argument, that it > should be made a fluid/parameter/what have you, that gets initialized > with program-arguments at some point. Alright. I went with something along these lines in commit 1b179d7876f19f04009a2f9e248ac10711f4c660. I tested that it works as intended with =E2=80=98guix pull --url=3D$PWD=E2= =80=99 and running a script from there that accesses modules of a secondary channel. Thank you! Ludo=E2=80=99.