unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Jan Nieuwenhuizen <janneke@gnu.org>
Cc: 37478@debbugs.gnu.org
Subject: [bug#37478] [PATCH] Support canonical guix environment -l guix.scm.
Date: Wed, 25 Sep 2019 15:28:06 +0200	[thread overview]
Message-ID: <871rw4mro9.fsf@gnu.org> (raw)
In-Reply-To: <871rw88u5s.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Sun, 22 Sep 2019 13:09:03 +0200")

Hello,

Jan Nieuwenhuizen <janneke@gnu.org> skribis:

> I often find myself typing `guix environment -l guix.scm' in the Guix
> source root and thought IWBN no make that "just work".  WYDT?

IWBN, but…

> -(define-module (guix))
> +(define-module (guix)
> +  #:use-module (guix git-download)
> +  #:use-module (guix gexp)
> +  #:use-module (guix packages)
> +  #:use-module (gnu packages package-management))

… the (guix) module is a public module, and it must not depend on
anything but the (guix …) modules it imports.

So unfortunately we can’t just do that.

Perhaps we could have a ‘.guix.scm’ file though, or
‘build-aux/guix.scm’, something like that?

Thanks,
Ludo’.

  reply	other threads:[~2019-09-25 13:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-22 11:09 [bug#37478] [PATCH] Support canonical guix environment -l guix.scm Jan Nieuwenhuizen
2019-09-25 13:28 ` Ludovic Courtès [this message]
2019-10-05  9:25   ` Jan Nieuwenhuizen
2019-12-10  4:52     ` Brett Gilio
2019-12-10 18:45       ` Thompson, David
2019-12-10 20:59         ` Jan Nieuwenhuizen

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=871rw4mro9.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=37478@debbugs.gnu.org \
    --cc=janneke@gnu.org \
    /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).