guix/tests
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
..
base32.scm
base64.scm
build-utils.scm
builders.scm
challenge.scm
containers.scm
cpan.scm
cpio.scm
cran.scm tests: Move beatify-description tests to import-tests. 2016-01-20 22:06:25 +10:00
cve-sample.xml Add (guix cve). 2015-11-26 22:35:01 +01:00
cve.scm Add (guix cve). 2015-11-26 22:35:01 +01:00
derivations.scm derivations: Add test in keep-going mode. 2016-01-19 21:59:58 +01:00
elpa.scm
file-systems.scm
gem.scm import: gem: Beautify only the description, not the synopsis. 2016-01-20 21:52:52 +10:00
gexp.scm tests: Skip 'program-file' test when shebang is too long. 2015-11-04 11:59:46 +01:00
gnu-maintenance.scm gnu-maintenance: Add tests for 'release-file?'. 2015-12-07 23:32:01 +01:00
graph.scm tests: Use sed instead of grep as a package with no dependencies. 2016-01-13 18:19:01 +01:00
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build.sh guix build: Add '--with-input'. 2016-02-01 08:59:13 +01:00
guix-daemon.sh
guix-download.sh guix download: Fail when more than one URL is passed. 2015-11-23 17:48:35 +01:00
guix-environment-container.sh scripts: environment: Build environments as profiles. 2016-02-12 22:02:06 +01:00
guix-environment.sh scripts: environment: Build environments as profiles. 2016-02-12 22:02:06 +01:00
guix-gc.sh guix gc: Error out when extra arguments are passed. 2015-11-11 23:29:20 +01:00
guix-graph.sh graph: Add '%bag-with-origins-node-type'. 2015-11-23 23:34:15 +01:00
guix-hash.sh
guix-lint.sh
guix-package-net.sh guix package: '--search-paths' can report combined search paths. 2015-11-11 00:37:50 +01:00
guix-package.sh guix package: Allow multiple '--search' flags. 2016-01-05 00:28:42 +01:00
guix-register.sh
guix-system.sh services: Rename 'dmd' services to 'shepherd'. 2016-01-29 20:21:53 +03:00
hackage.scm import: hackage: Add new tests. 2015-11-26 18:17:23 +01:00
hash.scm
import-utils.scm tests: Move beatify-description tests to import-tests. 2016-01-20 22:06:25 +10:00
lint.scm tests: Use 'dummy-origin' for lint tests when possible. 2016-01-28 16:31:38 +01:00
monads.scm
nar.scm
packages.scm packages: Use '@' in package record printers. 2016-01-28 16:31:38 +01:00
pk-crypto.scm
pki.scm
profiles.scm profiles: Honor search paths of propagated inputs. 2015-12-20 22:34:22 +01:00
publish.scm tests: Prevent 'http_proxy' from breaking Web server tests. 2016-01-22 00:02:52 +01:00
pypi.scm import: pypi: Use "pypi-uri" instead of building the URL manually. 2015-11-03 21:38:13 +01:00
records.scm
scripts-build.scm guix build: Add '--with-input'. 2016-02-01 08:59:13 +01:00
scripts.scm
services.scm services: Rename 'dmd' services to 'shepherd'. 2016-01-29 20:21:53 +03:00
sets.scm
signing-key.pub
signing-key.sec
size.scm
snix.scm
store.scm store: Add monadic access to '%current-system'. 2016-02-12 21:54:25 +01:00
substitute.scm
syscalls.scm
system.scm system: grub: Search root device by label or UUID if possible. 2016-01-22 00:02:52 +01:00
test.drv
ui.scm
union.scm
utils.scm utils: Add 'ensure-keyword-arguments'. 2016-01-06 23:08:22 +01:00