unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Suhail Singh <suhailsingh247@gmail.com>
To: Christopher Howard <christopher@librehacker.com>
Cc: 74250@debbugs.gnu.org
Subject: bug#74250: emacs-guix: guix-pull invalid input error
Date: Wed, 20 Nov 2024 14:06:21 -0500	[thread overview]
Message-ID: <87v7whwwr6.fsf@gmail.com> (raw)
In-Reply-To: <8734jliwq6.fsf@librehacker.com> (Christopher Howard's message of "Wed, 20 Nov 2024 09:30:41 -0900")

Christopher Howard <christopher@librehacker.com> writes:

> I discovered that if I go to Gnome console, set the GUILE_LOAD_PATH
> appropriately for the emacs-guix scheme code, run «,re (emacs-guix),»
> and then run (guix-command "pull") that the pull completes without any
> issues.

Out of curiosity, does the below raise an assertion error for you when
GUILE_LOAD_PATH is _not_ set "appropriately"?

#+begin_src emacs-lisp
  (let ((guile-load-path (split-string (getenv "GUILE_LOAD_PATH") ":")))
      (dolist (suffix '("guix/current/share/guile/site/3.0"
                        ;; <https://www.mail-archive.com/help-guix@gnu.org/msg13819.html>
                        "guix-module-union/share/guile/site/3.0"))
        (cl-assert (cl-some (lambda (x)
                              (string-suffix-p suffix x))
                            guile-load-path))))
#+end_src

-- 
Suhail




  reply	other threads:[~2024-11-20 19:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-07 22:53 bug#74250: emacs-guix: guix-pull invalid input error Christopher Howard
2024-11-19 20:55 ` Christopher Howard
2024-11-20 18:30   ` Christopher Howard
2024-11-20 19:06     ` Suhail Singh [this message]
2024-11-20 19:23       ` Christopher Howard
2024-11-20 19:50         ` Suhail Singh
2024-11-20 20:37 ` Christopher Howard
2024-11-20 21:33   ` Suhail Singh
2024-11-21 20:27     ` Christopher Howard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v7whwwr6.fsf@gmail.com \
    --to=suhailsingh247@gmail.com \
    --cc=74250@debbugs.gnu.org \
    --cc=christopher@librehacker.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).