From d108f59761f6581bff0d405c38852688ba04961d Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Tue, 7 May 2019 14:38:06 +0200 Subject: environment: Non ad-hoc mode also honors transformation options. Fixes . Reported by Florent Pruvost . * guix/scripts/environment.scm (options/resolve-packages): Add call to TRANSFORM in non "ad-hoc" case. * tests/guix-environment.sh: Add test. --- guix/scripts/environment.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix') 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 @@ (define (packages->outputs packages mode) (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)) -- cgit v1.2.3