guix-devel/guix/scripts
David Thompson 779aa003fb scripts: environment: Build environments as profiles.
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>
2016-02-12 22:02:06 +01:00
..
container scripts: container: Fix 'exec' command line parsing. 2015-11-03 18:05:43 -05:00
import import: Add Bioconductor importer and updater. 2016-01-20 12:41:28 +01:00
archive.scm
authenticate.scm
build.scm guix build: Add '--with-input'. 2016-02-01 08:59:13 +01:00
challenge.scm
container.scm scripts: Add 'container' subcommand. 2015-11-01 18:20:04 -05:00
download.scm guix download: Fail when more than one URL is passed. 2015-11-23 17:48:35 +01:00
edit.scm edit: Don't assume that an emacs daemon is running. 2015-12-06 17:23:25 +01:00
environment.scm scripts: environment: Build environments as profiles. 2016-02-12 22:02:06 +01:00
gc.scm guix gc: Error out when extra arguments are passed. 2015-11-11 23:29:20 +01:00
graph.scm graph: %BAG-WITH-ORIGINS-NODE-TYPE includes the origin's guile. 2016-01-02 22:25:41 +01:00
hash.scm
import.scm
lint.scm lint: Rewrite 'check-patch-file-names'. 2016-01-28 16:31:38 +01:00
offload.scm
package.scm guix package: Support package transformation options. 2016-02-01 08:59:13 +01:00
publish.scm
pull.scm
refresh.scm import: Add Bioconductor importer and updater. 2016-01-20 12:41:28 +01:00
size.scm
substitute.scm substitute: Warn upon store prefix mismatches. 2015-11-28 00:02:23 +01:00
system.scm guix system: Simply warn if we cannot talk to the shepherd. 2016-02-05 14:01:46 +01:00