diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2019-05-07 14:38:06 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-05-07 15:46:53 +0200 |
commit | d108f59761f6581bff0d405c38852688ba04961d (patch) | |
tree | bc718bae021b6c7039d4a2fdbce6162e744d406f /guix/scripts | |
parent | bdd30bf00b04b8d236140f865f23e44ea2a28b86 (diff) |
environment: Non ad-hoc mode also honors transformation options.
Fixes <https://bugs.gnu.org/35618>.
Reported by Florent Pruvost <florent.pruvost@inria.fr>.
* guix/scripts/environment.scm (options/resolve-packages): Add call to
TRANSFORM in non "ad-hoc" case.
* tests/guix-environment.sh: Add test.
Diffstat (limited to 'guix/scripts')
-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 99c351ae43..c1341628a8 100644 --- a/guix/scripts/environment.scm +++ b/guix/scripts/environment.scm @@ -341,7 +341,7 @@ for the corresponding packages." (list (package->manifest-entry* package output)))) (('package 'package (? string? spec)) (package-environment-inputs - (specification->package+output spec))) + (transform (specification->package+output spec)))) (('expression mode str) ;; Add all the outputs of the package STR evaluates to. (packages->outputs (read/eval str) mode)) |