unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#30954] [PATCH] guix environment: load manifest files like "guix package" does
@ 2018-03-26 14:29 Konrad Hinsen
  2018-03-27 21:21 ` bug#30954: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Konrad Hinsen @ 2018-03-26 14:29 UTC (permalink / raw)
  To: 30954

* 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#30954: [PATCH] guix environment: load manifest files like "guix package" does
  2018-03-26 14:29 [bug#30954] [PATCH] guix environment: load manifest files like "guix package" does Konrad Hinsen
@ 2018-03-27 21:21 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2018-03-27 21:21 UTC (permalink / raw)
  To: Konrad Hinsen; +Cc: 30954-done

Hello,

Konrad Hinsen <konrad.hinsen@fastmail.net> skribis:

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

Applied, thanks!

Ludo'.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-27 21:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-26 14:29 [bug#30954] [PATCH] guix environment: load manifest files like "guix package" does Konrad Hinsen
2018-03-27 21:21 ` bug#30954: " Ludovic Courtès

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).