guix-devel/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 tests: Unset 'LOCPATH' before running bootstrap program. 2015-09-24 21:21:02 +02:00
builders.scm
challenge.scm Add 'guix challenge'. 2015-10-20 00:57:36 +02:00
containers.scm build: container: Add feature test predicates. 2015-11-03 11:41:04 -05:00
cpan.scm
cpio.scm Add (guix cpio). 2015-06-24 18:05:03 +02:00
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 tests: Use the right identifier in tests/elpa.scm. 2015-07-08 15:30:49 +02:00
file-systems.scm file-systems: 'uuid' raises a syntax error for invalid UUIDs. 2015-07-16 09:49:36 +02:00
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 archive: Add '--extract'. 2015-10-19 10:10:47 +02:00
guix-authenticate.sh
guix-build.sh guix build: Add '--with-input'. 2016-02-01 08:59:13 +01:00
guix-daemon.sh store: Add 'query-failed-paths' and 'clear-failed-paths' RPCs. 2015-09-28 22:54:04 +02:00
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 monads: Fix 'liftN' fallback case. 2015-09-04 18:31:06 +02:00
nar.scm tests: Work around Btrfs handling of nlink for empty directories. 2015-08-26 00:43:36 +02:00
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 Add (guix scripts). 2015-09-18 21:42:06 +03:00
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 tests: Adjust tests for new bootstrap Guile. 2015-07-12 01:27:00 +02:00
snix.scm utils: Remove Nixpkgs helpers. 2015-10-06 23:51:04 +02:00
store.scm store: Add monadic access to '%current-system'. 2016-02-12 21:54:25 +01:00
substitute.scm substitute: Honor all the specified server URLs. 2015-10-28 12:04:03 +01:00
syscalls.scm build: container: Add feature test predicates. 2015-11-03 11:41:04 -05:00
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 ui: Gracefully handle Unicode description strings. 2015-09-24 22:04:51 +02:00
union.scm
utils.scm utils: Add 'ensure-keyword-arguments'. 2016-01-06 23:08:22 +01:00