[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#37478] [PATCH] Support canonical guix environment -l guix.scm.
From: |
Ludovic Courtès |
Subject: |
[bug#37478] [PATCH] Support canonical guix environment -l guix.scm. |
Date: |
Wed, 25 Sep 2019 15:28:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hello,
Jan Nieuwenhuizen <address@hidden> 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’.