GNU bug report logs - #37478
[PATCH] Support canonical guix environment -l guix.scm.

Previous Next

Package: guix-patches;

Reported by: Jan Nieuwenhuizen <janneke <at> gnu.org>

Date: Sun, 22 Sep 2019 11:10:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Ludovic Courtès <ludo <at> gnu.org>
To: Jan Nieuwenhuizen <janneke <at> gnu.org>
Cc: 37478 <at> debbugs.gnu.org
Subject: [bug#37478] [PATCH] Support canonical guix environment -l guix.scm.
Date: Wed, 25 Sep 2019 15:28:06 +0200
Hello,

Jan Nieuwenhuizen <janneke <at> 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’.




This bug report was last modified 5 years and 186 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.