From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 4IwfFOic7mM/7AAAbAwnHQ (envelope-from ) for ; Thu, 16 Feb 2023 22:15:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 6IFtFOic7mNtZwEA9RJhRA (envelope-from ) for ; Thu, 16 Feb 2023 22:15:20 +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 F07D639406 for ; Thu, 16 Feb 2023 22:15:19 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=Ke0jHZrp; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676582120; a=rsa-sha256; cv=none; b=psvUmSDVLAS4fhIKcXNBj2RetHKMt1clfl+3s5Qf9ZSVF0gVtRM46uF9v1U5kWOxndjzMu 3L3GK+GDUVwZFyhW4GF/kck6aop/hhXzLX7r+Y7KXCFc8UmmDlueBKxJL/rMvdqZJhLIIo n5mvJVJEdxVX56hbLsxBdcKSOhO8JR6aVid5TAK1MS3zhM7grFLtnKGy9zY+wfDf3mmBzg HzYuR0QGE6BEcjpEfl4StMgqAiNS/nsa7/Tp+Hb0siqtTVRIN6uf0K5RWiK0mZbGXrCnSz 0dRY8qjKCYJd8dyL0SYS4yz4rYS5kCwNLJI4OnQLADdDf3wH4gT32zujdWjuaA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=jpoiret.xyz header.s=dkim header.b=Ke0jHZrp; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676582120; 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-transfer-encoding:content-transfer-encoding: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=m7gvnhsOoc6/kxheg94gcTO2ELWAQLXCvr5bOkVpC/0=; b=Z/ZViiJ0gLkAZAmQ6SzHRQcsxZHlMItG3X8p6dAas6DGBGxyETbRVt2NVp6B9J/lngVo0Q JKOXpZoKLqTkwiqWCYmq5INTwZhYJSWPAGMzIaAEnG7VjSEDvL+bVKEXnwTyLyPerXs5CS 99qL6hlZqjBDeE/Q7+iQqxoba34RsbKmBqx0zeLfR/E0Mw91mdCEa09XLX6BkmS3CN/ZC8 EC5ZPqKPas4ZlL74mxiypzzM9PnrhzF5alorPMCYz8ZYqsyX6T/XvXyDxsYfOK/JQch09v XEcGL0p9hZ0j7/MvwGCAoOpamiDEo1pMNIxkGyZWrAYL6NWAC4JKLIF+1Z56Og== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSlax-0005JM-L5; Thu, 16 Feb 2023 16:15:12 -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 1pSlap-0005Iu-Vx for bug-guix@gnu.org; Thu, 16 Feb 2023 16:15:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pSlao-0000H2-PT for bug-guix@gnu.org; Thu, 16 Feb 2023 16:15:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pSlao-000804-6w for bug-guix@gnu.org; Thu, 16 Feb 2023 16:15:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#61343: [PATCH] scripts: repl: Load (gnu packages) to set up %load-path. Resent-From: Josselin Poiret Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 16 Feb 2023 21:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61343 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Simon Tournier , =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , 61343@debbugs.gnu.org Cc: Josselin Poiret Received: via spool by 61343-submit@debbugs.gnu.org id=B61343.167658210130727 (code B ref 61343); Thu, 16 Feb 2023 21:15:02 +0000 Received: (at 61343) by debbugs.gnu.org; 16 Feb 2023 21:15:01 +0000 Received: from localhost ([127.0.0.1]:37794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSlam-0007zU-VM for submit@debbugs.gnu.org; Thu, 16 Feb 2023 16:15:01 -0500 Received: from jpoiret.xyz ([206.189.101.64]:43830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pSlak-0007zD-EC for 61343@debbugs.gnu.org; Thu, 16 Feb 2023 16:15:00 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id C588A185318; Thu, 16 Feb 2023 21:14:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1676582095; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=m7gvnhsOoc6/kxheg94gcTO2ELWAQLXCvr5bOkVpC/0=; b=Ke0jHZrpW7VBKpLoFagD53SRZeVnpFvFKx0K9Y50xxrMWDOJDtHSH0t8EXzFM3ggzAJfAK o0E5I6Lcp2bbwKme5cgtLgf624QvSI2XB6OWjxc4b5m5Zt1zMqF1NnGg75ZTOZyMMJdp/D rOeXJgpZdh0guQQI1sTZumJYcBBzHHSDcU1I/QY+xUVeprtkvJBZKhclNxHRz9A+l/XI7v lt/HUznixt4UWs4avEgWiXlcSV4l5YYz3AJsnc1x8fhXb+w8rmQ0XtlV+UzJNMAwDuactg bFvDIGQPQ8dZnrYRr53j71bOLa8PLPH/qBj5EHQY/toURM0HhXJmVz4lJvU63A== Date: Thu, 16 Feb 2023 22:14:49 +0100 Message-Id: In-Reply-To: <87zg9gxda2.fsf@gmail.com> References: <87zg9gxda2.fsf@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: ++++++ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Josselin Poiret From: Josselin Poiret via Bug reports for GNU Guix X-Migadu-Queue-Id: F07D639406 X-Spam-Score: 4.58 X-Migadu-Spam-Score: 4.58 X-Migadu-Scanner: scn0.migadu.com Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: arMjI6ieI08b * guix/scripts/repl.scm: Add (gnu packages) to the used modules so that channel Scheme files are available straight away. --- Hi both of you, I don't think there's a reason for that, other than no one realizing before. Here's a simple fix, freshly tested. guix/scripts/repl.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/guix/scripts/repl.scm b/guix/scripts/repl.scm index 787c63d48e..407f5b2b38 100644 --- a/guix/scripts/repl.scm +++ b/guix/scripts/repl.scm @@ -22,6 +22,7 @@ (define-module (guix scripts repl) #:use-module (guix ui) #:use-module (guix scripts) #:use-module (guix repl) + #:use-module (gnu packages) ;; To extend %load-path with channels #:use-module (srfi srfi-1) #:use-module (srfi srfi-26) #:use-module (srfi srfi-37) base-commit: 312f1f41d3f3f3e5d2c36ff46920c6dce1c21a17 -- 2.39.1