Correct.  Moved, new job, and other stuff came up so I had to drop guix
participation for a bit.  Not ready to pick it back up yet.

On Sat, Jul 25, 2020, 10:56 Marius Bakke <[email protected]> wrote:

> Josh Marshall <[email protected]> writes:
>
> > Hello all,
> >
> > I ran into an issue where the readline module isn't available for the
> > guile repl after installing `guile-readline`.  It can be replicated
> > via:
> >
> > `echo "(use-modules (ice-9 readline))" | guix environment --pure guile
> > guile-readline -- guile`
> >
> > So with that, I'm pretty sure it isn't just me.
>
> This is on a foreign distribution, right?
>
> The '.guile' on Guix System has a trick that automatically loads
> readline when available:
>
> --8<---------------cut here---------------start------------->8---
> $ cat ~/.guile
> (cond ((false-if-exception (resolve-interface '(ice-9 readline)))
>        =>
>        (lambda (module)
>          ;; Enable completion and input history at the REPL.
>          ((module-ref module 'activate-readline))))
>       (else
>        (display "Consider installing the 'guile-readline' package for
> convenient interactive line editing and input history.\n\n")))
> --8<---------------cut here---------------end--------------->8---
>

Reply via email to