[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Loading Common Lisp Libraries with GNU/Guix in a REPL

From: raingloom
Subject: Re: Loading Common Lisp Libraries with GNU/Guix in a REPL
Date: Sun, 12 Dec 2021 20:27:16 +0100

On Sun, 12 Dec 2021 11:01:34 -0600
Katherine Cox-Buday <> wrote:

> Edouard Klein <> writes:
> I also don't know the canonical way, but I do it a different way. I'm
> wondering what the simpler way to do things is? I know nothing about
> rlwrap. But here's how I do things:
> Depending on the project, I may have a =guix.scm= package defined for
> it or not. This only changes how I invoke =guix shell=, not the
> technique.
> From emacs, I run slime: with =C-u M-x slime=. It prompts me for
> which lisp I want to run, and then I type =guix shell -D -- sbcl=.
> This seems pretty simple.
> I think I did have to include this in my bash initialization though.
> I'm not sure if it will work without it, or if there's a more correct
> way to do what I'm doing:
> #+begin-src bash
> if [ -n "${GUIX_ENVIRONMENT}" ]; then
>     export
> PATH="${GUIX_ENVIRONMENT}/bin:${PATH}" export
> #+end_src
> I hope this helps!
> --
> Katherine

I think Ambrevar's Lisp REPL page mentions something about sourcing
Bash scripts from Emacs? Maybe?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]