Subject: Re: [bug#37478] [PATCH] Support canonical guix environment -l guix.scm.

From: Ludovic Courtès <[email-masked]>
Date: Wed, 25 Sep 2019 15:28:06 +0200

Hello,

Jan Nieuwenhuizen <[email-masked]> 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’.