779aa003fb
Fixes <http://bugs.gnu.org/19816>. * guix/scripts/environment.scm (evaluate-input-search-paths) (build-inputs): Delete. (evaluate-profile-search-paths, strip-input-name) (package-or-package+output?, package-environment-inputs) (build-environment, inputs->profile-derivations): New procedures. (create-environment, show-search-paths, launch-environment) (launch-environment/container): Replace 'inputs' argument with 'profile' argument. (package+propagated-inputs): Strip off names off of input tuples. (options/resolve-packages): Handle input tuples that specify an output in expressions. (guix-environment): Convert inputs into a profile to use in the environment. Remove non-package inputs such as origins from environment inputs. * doc/guix.texi ("invoking guix environment"): Document package+output tuples for --expression option. * tests/guix-environment.sh: Update tests. * tests/guix-environment-container.sh: Likewise. Co-authored-by: Ludovic Courtès <ludo@gnu.org> |
||
---|---|---|
.. | ||
container | ||
import | ||
archive.scm | ||
authenticate.scm | ||
build.scm | ||
challenge.scm | ||
container.scm | ||
download.scm | ||
edit.scm | ||
environment.scm | ||
gc.scm | ||
graph.scm | ||
hash.scm | ||
import.scm | ||
lint.scm | ||
offload.scm | ||
package.scm | ||
publish.scm | ||
pull.scm | ||
refresh.scm | ||
size.scm | ||
substitute.scm | ||
system.scm |