mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -332,7 +332,7 @@ (define (manifest->outputs manifest)
|
||||||
(let ((module (make-user-module '())))
|
(let ((module (make-user-module '())))
|
||||||
(packages->outputs (load* file module) mode)))
|
(packages->outputs (load* file module) mode)))
|
||||||
(('manifest . file)
|
(('manifest . file)
|
||||||
(let ((module (make-user-module '())))
|
(let ((module (make-user-module '((guix profiles) (gnu)))))
|
||||||
(manifest->outputs (load* file module))))
|
(manifest->outputs (load* file module))))
|
||||||
(_ '(#f)))
|
(_ '(#f)))
|
||||||
opts)))
|
opts)))
|
||||||
|
|
Loading…
Reference in a new issue