From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CBfdA8lIPmdGtQAAe85BDQ:P1 (envelope-from ) for ; Wed, 20 Nov 2024 20:38:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id CBfdA8lIPmdGtQAAe85BDQ (envelope-from ) for ; Wed, 20 Nov 2024 21:38:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=PRXRALKr; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20240523 header.b="O YK+om6"; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1732135113; a=rsa-sha256; cv=none; b=Nh1aLdwujI21ubWpFcqeLXHQHTwKR4i4DfVqCXhgo8eiRkumg26Lvmxt47ew1AB+nbc3zj 3O8DgBb85yZg+yBdjkVogF9MtTIVBYxYLY62Cbg2DotAbeK5TydQjlaXtwtDJ0g9hRC4Mp 0AuWjOHMJElv425uNzo3lO4dreWdAx4JV0G3+Z9AvXRspNzj5qbDlrcTpUXnb8MqLyXGV9 /hJEELEQTNdaSW+CDeivIzMzUWvIpKVXAEkZpSx7abAVR5AjW+Ky2DBl1rL8fCWH4qpfQ3 rAZWjM4uEs9b+qPDufpTvH+T66ea2sf7SeIkdPUn1Og5N3XCKmi+5Kcdx7i6Yg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=PRXRALKr; dkim=fail ("headers rsa verify failed") header.d=kolabnow.com header.s=dkim20240523 header.b="O YK+om6"; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1732135113; h=from:from:sender:sender: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: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=egrM4hAwP/paxpkbBgxHKts+mcTF2Y3WOzqOs47fcos=; b=ajpmrZQK+28Fqsabxbru/rCueTz/8V/j4WKXDXwCQtzmsRiG2VCyBIDbb172UHS8SF3KeO cFrpNNs+afZc44X43v/gtO0Nqfz3b9F28XUPwD2b6TX5+9EjyWk5v1hWsqiHra45OV0YFQ 1xNxvd2KGpoujeK1HHpoRZJ4uxtUUvTJsCplHe6VA9LPt29oWDMW97HdYvF6LbDup++jHb doEEZl0Znda2YeA7PtFNU2B0+vdwHrvMbuG/UF6rg+iekhndA38mRZwYlOG0uE9a72AjOC FpELX3GGUETPpVn05RozzaoxNkGap4lqRFSBiwqzQzkzAmEA76HdR/gH0arr/w== 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 8999119CB3 for ; Wed, 20 Nov 2024 21:38:32 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tDrSe-0003OR-KJ; Wed, 20 Nov 2024 15:38:04 -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 1tDrSc-0003O1-QW for bug-guix@gnu.org; Wed, 20 Nov 2024 15:38:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tDrSc-0004Si-Ic for bug-guix@gnu.org; Wed, 20 Nov 2024 15:38:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:In-Reply-To:From:To:References:Subject; bh=egrM4hAwP/paxpkbBgxHKts+mcTF2Y3WOzqOs47fcos=; b=PRXRALKrYKT5gpSIClyjDG+FcEtZMudRE/QJ/LAvKWZZMJm+zZCaZqX5PCwxBDzhnl6B3Rit1f8TJ0z5NJKRnS1rHpQR35BXTwMaToLP7PZnMbtS2ecrc1X3VVeE196cXXqbTHiYVBKxk2Suw2Vh/ieL0ru3wZb0W/T20aguyOWOwIkuilLYBgHbANOF3RYtychhNpfTBpP/vWTSRPjL4bp1EMfE5WCXjUBIX/Ko8f0ngI/NSLOvAz+m72I/ncmd6nNHubtYPdamw8b+pi8C89juWBMcHg7QD4+ff/oYc+cH20xDCGK5VzRPbndYrZVaI81wRr+BN3ULddOd+pvx8w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tDrSc-0007Fe-63 for bug-guix@gnu.org; Wed, 20 Nov 2024 15:38:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#74250: emacs-guix: guix-pull invalid input error References: <87h68iy7u2.fsf@librehacker.com> Resent-From: Christopher Howard Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 20 Nov 2024 20:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74250 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Suhail Singh Cc: 74250@debbugs.gnu.org Received: via spool by 74250-submit@debbugs.gnu.org id=B74250.173213507727856 (code B ref 74250); Wed, 20 Nov 2024 20:38:02 +0000 Received: (at 74250) by debbugs.gnu.org; 20 Nov 2024 20:37:57 +0000 Received: from localhost ([127.0.0.1]:47928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDrSX-0007FE-5D for submit@debbugs.gnu.org; Wed, 20 Nov 2024 15:37:57 -0500 Received: from mx.kolabnow.com ([212.103.80.154]:42066) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tDrSU-0007Ex-El for 74250@debbugs.gnu.org; Wed, 20 Nov 2024 15:37:55 -0500 Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 4F83B30004E3; Wed, 20 Nov 2024 21:37:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= content-transfer-encoding:content-type:content-type:mime-version :message-id:date:date:in-reply-to:subject:subject:from:from :received:received:received; s=dkim20240523; t=1732135066; x= 1733949467; bh=egrM4hAwP/paxpkbBgxHKts+mcTF2Y3WOzqOs47fcos=; b=O YK+om6L0PZJlvfD25RQYOcmHwyCXyldvL7C5oleY8ks3ydzVvGqNDoUaJAD7I4gV C4v7LbmtzHncTyv3CBwjywzB7du6PIN92+tzDiYha/OZGERelcWuTQCfiO94jOR5 KdJfB86jaS2bZCflsMFdVouhlPeODdYsj9UpmDk4p8PpuUvrWuYUbQluDa6IzXXs tzu1QatBPKnf5jiTe0DM1c0rxvn+DT2Mw5RViXifAABCMWNgenqpsd4U3KXG7008 hDEsoIXK4MEROEqINZY5pGRIQI6udodzeLBDGxjcj1SdI9T0MnN73v3eEQuqjj8L XtORw+hNowM5swULnAlMA== X-Virus-Scanned: amavis at mykolab.com Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out013.mykolab.com [127.0.0.1]) (amavis, port 10024) with ESMTP id 4QTKTf_pzP8P; Wed, 20 Nov 2024 21:37:46 +0100 (CET) Received: from int-mx009.mykolab.com (unknown [10.9.13.9]) by mx.kolabnow.com (Postfix) with ESMTPS id C7F2930005A1; Wed, 20 Nov 2024 21:37:45 +0100 (CET) Received: from ext-subm010.mykolab.com (unknown [10.9.6.10]) by int-mx009.mykolab.com (Postfix) with ESMTPS id 44D0720D3032; Wed, 20 Nov 2024 21:37:45 +0100 (CET) From: Christopher Howard In-Reply-To: Suhail Singh's message of "Wed, 20 Nov 2024 14:50:42 -0500 (20 minutes, 53 seconds ago)" Date: Wed, 20 Nov 2024 11:37:32 -0900 Message-ID: <87zflt63qr.fsf@librehacker.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: , 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-Migadu-Spam-Score: -5.61 X-Spam-Score: -5.61 X-Migadu-Queue-Id: 8999119CB3 X-Migadu-Scanner: mx12.migadu.com X-TUID: NVFjnMoM3mOF So, when inside Emacs, it appears that emacs-guix, after launching the *Gui= x REPL* and *Guix Internal REPL*, adds it's own scheme code to the paths in= %load-path. In either of these REPLs, I can see that the emacs-guix scheme= code is the first entry in the list: ``` scheme@(emacs-guix)> %load-path $13 =3D ("/home/christopher/Repos/emacs-guix/scheme" "/home/christopher/.co= nfig/guix/current/share/guile/site/3.0" "/gnu/store/60hgms029zpd92w065g7lgn= q5vw5rd7b-emacs-geiser-guile-0.28.3/share/emacs/site-lisp/geiser-guile-0.28= .3/src" "/home/christopher/.guix-home/profile/share/guile/site/3.0" "/home/= christopher/.guix-profile/share/guile/site/3.0" "/run/current-system/profil= e/share/guile/site/3.0" "/gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-guile-= 3.0.9/share/guile/3.0" "/gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-guile-3= .0.9/share/guile/site/3.0" "/gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-gui= le-3.0.9/share/guile/site" "/gnu/store/mfkz7fvlfpv3ppwbkv0imb19nrf95akf-gui= le-3.0.9/share/guile") ``` However, that path is not in Emacs' own environment, as I can see with gete= nv: ``` ielm ELISP> (getenv "GUILE_LOAD_PATH") "/home/christopher/.guix-home/profile/share/guile/site/3.0:/home/christophe= r/.guix-profile/share/guile/site/3.0:/run/current-system/profile/share/guil= e/site/3.0" ELISP> (getenv "GUILE_LOAD_COMPILED_PATH") "/home/christopher/.guix-home/profile/lib/guile/3.0/site-ccache:/home/chris= topher/.guix-home/profile/share/guile/site/3.0:/home/christopher/.guix-prof= ile/lib/guile/3.0/site-ccache:/home/christopher/.guix-profile/share/guile/s= ite/3.0:/run/current-system/profile/lib/guile/3.0/site-ccache:/run/current-= system/profile/share/guile/site/3.0" ``` So, my experiment was to see if I could run the scheme command =C2=AB(guix-= command "pull")=C2=BB from the console instead, just using guix repl. Howev= er, since guix repl will not load any emacs-guix scheme code, I had to add = "/home/christopher/Repos/emacs-guix/scheme" to the GUILE_LOAD_PATH in order= to be able to load (emacs-guix) module. Hopefully that clarifies what I am seeing. Looking at this now, I see that there are significant differences between t= he paths for paths in %load-path vs paths in GUILE_LOAD_PATH. Perhaps I am = running old code from the wrong profile or something. I will try to look in= to this more. ``` eshell ~/Repos/guix $ realpath /home/christopher/.guix-home/profile/share/guile/si= te/3.0 /gnu/store/0zhhnwmk8jlvx2rycgkh6dclv75gp1xr-profile/share/guile/site/3.0 ~/Repos/guix $ realpath "/home/christopher/.config/guix/current/share/guile= /site/3.0" /gnu/store/yqsx2n66a0hlzpimqsw392x8f2x6nrzi-guix-804f8b209-modules/share/gu= ile/site/3.0 ``` --=20 Christopher Howard