diff options
author | Konrad Hinsen <konrad.hinsen@fastmail.net> | 2018-03-26 16:29:24 +0200 |
---|---|---|
committer | Ludovic Courtès <ludovic.courtes@inria.fr> | 2018-03-27 23:26:15 +0200 |
commit | 6fcb90eebd5e21a042ed9746fcbaa2040706ea71 (patch) | |
tree | 0aab5929cf4d1867608a1159c3e8f7b2c85de1b4 | |
parent | f7a5cf7a2da9590fe64e85e6f263b11020e943aa (diff) | |
download | guix-6fcb90eebd5e21a042ed9746fcbaa2040706ea71.tar.gz |
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>
-rw-r--r-- | guix/scripts/environment.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/environment.scm b/guix/scripts/environment.scm index 4f88c513c0..f8a9702b30 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))) |