guix environment: load manifest files like "guix package" does
* guix/scripts/environment.scm (options/resolve-packages): When loading manifest files, use the same module environment as in "guix package". Signed-off-by: Ludovic Courtès <ludovic.courtes@inria.fr>
This commit is contained in:
parent
f7a5cf7a2d
commit
6fcb90eebd
@ -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)))
|
||||
|
Loading…
Reference in New Issue
Block a user