Subject: bug#30954: closed (Re: [bug#30954] [PATCH] guix environment: load manifest files like "guix package" does)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 27 Mar 2018 21:22:02 +0000

Your bug report

#30954: [PATCH] guix environment: load manifest files like "guix package" does

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
30954: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30954
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#30954] [PATCH] guix environment: load manifest files like "guix package" does
From: [email-masked] (Ludovic Courtès)
To: Konrad Hinsen <[email-masked]>
Cc: [email-masked]
Date: Tue, 27 Mar 2018 23:21:08 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

Konrad Hinsen <[email-masked]> skribis:

> * guix/scripts/environment.scm (options/resolve-packages): When loading
> manifest files, use the same module environment as in "guix package".

Applied, thanks!

Ludo'.

Subject: [PATCH] guix environment: load manifest files like "guix package" does
From: Konrad Hinsen <[email-masked]>
To: [email-masked]
Date: Mon, 26 Mar 2018 16:29:24 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* guix/scripts/environment.scm (options/resolve-packages): When loading
manifest files, use the same module environment as in "guix package".
---
 guix/scripts/environment.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm
index 4f88c513c..f8a9702b3 100644
--- a/guix/scripts/environment.scm
+++ b/guix/scripts/environment.scm
@@ -332,7 +332,7 @@ packages."
                   (let ((module (make-user-module '())))
                     (packages->outputs (load* file module) mode)))
                  (('manifest . file)
-                  (let ((module (make-user-module '())))
+                  (let ((module (make-user-module '((guix profiles) (gnu)))))
                     (manifest->outputs (load* file module))))
                  (_ '(#f)))
                opts)))
-- 
2.16.2