From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6xnoKb2FJ1/yNQAA0tVLHw (envelope-from ) for ; Mon, 03 Aug 2020 03:34:21 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id ICZ2Jb2FJ18QewAA1q6Kng (envelope-from ) for ; Mon, 03 Aug 2020 03:34:21 +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 82AE89403C5 for ; Mon, 3 Aug 2020 03:34:20 +0000 (UTC) Received: from localhost ([::1]:45446 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k2REv-0003Nb-Ry for larch@yhetil.org; Sun, 02 Aug 2020 23:34:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48834) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2REg-0003NE-F0 for bug-guix@gnu.org; Sun, 02 Aug 2020 23:34:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2REg-0005Jo-68 for bug-guix@gnu.org; Sun, 02 Aug 2020 23:34:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k2REg-0004Hm-1W for bug-guix@gnu.org; Sun, 02 Aug 2020 23:34:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#42688: Running a script with `guix repl` doesn't "see" additional channels using (%package-module-path) Resent-From: pkill9 Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 03 Aug 2020 03:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 42688 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 42688@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159642563616460 (code B ref -1); Mon, 03 Aug 2020 03:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Aug 2020 03:33:56 +0000 Received: from localhost ([127.0.0.1]:43797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2REa-0004HP-0b for submit@debbugs.gnu.org; Sun, 02 Aug 2020 23:33:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:47912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k2REX-0004HH-D4 for submit@debbugs.gnu.org; Sun, 02 Aug 2020 23:33:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k2REX-0003Mr-39 for bug-guix@gnu.org; Sun, 02 Aug 2020 23:33:53 -0400 Received: from aibo.runbox.com ([91.220.196.211]:41702) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k2RER-0005J6-9e for bug-guix@gnu.org; Sun, 02 Aug 2020 23:33:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Subject:To:From:Date; bh=lSrjIiUUaYmmBRO1+uNKpWoiJxH9w8DS84Ob2xxfF0s=; b=ts2CvDHCEuT0tb3JWvWJ13lmoY ToylFcTMip69DoxpV0QjsCX2vgWthkpSc7UvgJV5R+Ih8odYkJiUlstPXfkeXBENQVXTOqiR8oMd6 vFpLar+UImEZlVHpFI8qYnpj5PKiChNtNVYFKucyWOxtN77iT8vmMI6FznI/E7859FsLaeNb2g5Kh 00Qk7WH4Z2j0BWN7SlI5p5COmPeYn08SFaAtdDn1+E7ZTotRDl5BOaonTAm7bXWwNYBYNnxLGaE3z z3xg5RFWxFTYrpT5xxNWjD2nLec2jcyMM2+f2bl9l8O5jC8p1gMiVyrws6N3KBVBPmy97rIGlEF9P QmdYHR3w==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1k2REL-0004TI-EX for bug-guix@gnu.org; Mon, 03 Aug 2020 05:33:41 +0200 Received: by submission01.runbox with esmtpsa [Authenticated alias (780724)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1k2RED-0001q0-QC for bug-guix@gnu.org; Mon, 03 Aug 2020 05:33:33 +0200 Date: Mon, 3 Aug 2020 04:33:31 +0100 From: pkill9 Message-ID: <20200803043331.78b20336@runbox.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=91.220.196.211; envelope-from=pkill9@runbox.com; helo=aibo.runbox.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/02 23:33:41 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.1 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.1 (--) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=runbox.com header.s=selector2 header.b=ts2CvDHC; dmarc=fail reason="SPF not aligned (relaxed)" header.from=runbox.com (policy=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.59 X-TUID: LToPf/jnUzRD Running the following in `guix repl` returns additional channels: ``` itsme@antelope ~> guix repl GNU Guile 3.0.4 Copyright (C) 1995-2020 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. This program is free software, and you are welcome to redistribute it under certain conditions; type `,show c' for details. Enter `,help' for help. scheme@(guix-user)> (use-modules (gnu packages)) scheme@(guix-user)> (%package-module-path) $1 = (("/gnu/store/kds0mq06qpin125gkikwzdm6mjfwjffc-guix-module-union/share/guile/site/3.0" . "gnu/packages") "/gnu/store/96pa4rc57zgqf36y2kv8z20p2jvlgypq-pkill9-free-channel-dependency/share/guile/site/3.0" "/gnu/store/3ilx18ywdm6xk9f5l1mznrn45vcbncsq-pkill9-free/share/guile/site/3.0") scheme@(guix-user)> ``` But running the following in "test.scm" with `guix repl /tmp/test.scm doesn't return additional channels: ``` (use-modules (gnu packages)) (display (%package-module-path)) ``` ``` ((/gnu/store/kds0mq06qpin125gkikwzdm6mjfwjffc-guix-module-union/share/guile/site/3.0 . gnu/packages)) ``` fold-available-packages uses this to search for packages, which I am using for a script. As a result, the script doesn't know about packages from the additional channels.