unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Josh Marshall <joshua.r.marshall.1991@gmail.com>
To: Jack Hill <jackhill@jackhill.us>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: guile-readline bug -- readline module not available
Date: Sat, 13 Jun 2020 11:31:13 -0400	[thread overview]
Message-ID: <CAFkJGRdcq1RoGUddOCGdiJBq6OrEaSOsEYMhj_UVL9iPQgGcsA@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.20.2006122357580.5735@marsh.hcoop.net>

[-- Attachment #1: Type: text/plain, Size: 1768 bytes --]

The thing is that I want those dependencies in order to illustrate the bug
that the readline module for guile is not available.

On Sat, Jun 13, 2020, 00:11 Jack Hill <jackhill@jackhill.us> wrote:

> On Fri, 12 Jun 2020, Josh Marshall wrote:
>
> > 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.
>
> I think you actually want to be using a different guix environment
> command.
>
> guix environment --pure --ad-hoc guile guile-readline
>
> should get you what you want. The difference is that without --ad-hoc,
> what you're asking for is an environment with all the dependencies of
> guile and guile-readline. This is useful, for instance, if you want to
> work on those packages. In this case, guile is available because
> guile-readline depends on it, but nothing depends on guile-readline, so it
> is not in the environment.
>
> With --ad-hoc, you specify the the packages you want in the environment
> explicitly.
>
> See the manual [0] for more information and more advanced usage of
> environment.
>
> [0]
> https://guix.gnu.org/manual/en/html_node/Invoking-guix-environment.html
>
> This isn't the first time the --ad-hoc has caused confusion. I tend to use
> that option more often than not. There was previous discussion [1] about
> making environment more friendly to use interactively without breaking
> compatibility, but more work is still needed on that front.
>
> [1] https://lists.gnu.org/archive/html/guix-devel/2019-12/msg00126.html
>
> Hope that helps,
> Jack
>

[-- Attachment #2: Type: text/html, Size: 2492 bytes --]

  reply	other threads:[~2020-06-13 15:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-12 22:32 guile-readline bug -- readline module not available Josh Marshall
2020-06-13  4:11 ` Jack Hill
2020-06-13 15:31   ` Josh Marshall [this message]
2020-06-13 19:09     ` Jack Hill
2020-07-25 14:55 ` Marius Bakke
2020-07-25 16:18   ` Josh Marshall

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=CAFkJGRdcq1RoGUddOCGdiJBq6OrEaSOsEYMhj_UVL9iPQgGcsA@mail.gmail.com \
    --to=joshua.r.marshall.1991@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=jackhill@jackhill.us \
    /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).