guix-devel/guix/scripts
David Thompson cc90fbbf39 scripts: environment: Allow mixing regular and ad-hoc packages.
This patch changes the --ad-hoc flag to be positional.  That is, the
packages that appear before --ad-hoc are interpreted as packages whose
inputs should be in the environment; the packages that appear after are
interpreted as packages to be directly added to the environment.

* guix/scripts/environment.scm (tag-package-arg, compact): New
  procedures.
  (%options): Tweak the handlers for --load and --expression options.
  (options/resolve-packages): Preserve package mode tag.
  (parse-args): Tweak argument handler to use package tagging procedure.
  (guix-environment): Apply ad-hoc behavior on a per package basis.
* tests/guix-environment.sh: Add test.
* doc/guix.texi ("invoking guix environment"): Document new behavior of
  --ad-hoc.
2015-10-29 16:24:12 -04:00
..
import import: hackage: Fix grammar. 2015-10-23 09:10:52 +02:00
archive.scm guix archive: Add '--extract'. 2015-10-19 10:10:47 +02:00
authenticate.scm Remove assorted Guile 2.0.5 workarounds. 2015-05-10 11:07:51 +02:00
build.scm store: Use the daemon's substitute URLs by default. 2015-10-28 15:31:44 +01:00
challenge.scm substitute: 'lookup-narinfos' returns exactly a list of narinfos. 2015-10-28 12:04:03 +01:00
download.scm Add (guix scripts). 2015-09-18 21:42:06 +03:00
edit.scm Add (guix scripts). 2015-09-18 21:42:06 +03:00
environment.scm scripts: environment: Allow mixing regular and ad-hoc packages. 2015-10-29 16:24:12 -04:00
gc.scm guix gc: Add '--list-failures' and '--clear-failures'. 2015-09-28 22:54:04 +02:00
graph.scm graph: 'export-graph' takes a #:reverse-edges? parameter. 2015-10-14 21:39:05 +02:00
hash.scm Add (guix scripts). 2015-09-18 21:42:06 +03:00
import.scm import: Add 'cran' importer. 2015-08-31 15:39:34 +02:00
lint.scm lint: Export 'run-checkers'. 2015-10-09 16:17:45 +03:00
offload.scm offload: Use gzip instead of xz for compression on the master. 2015-09-25 22:35:35 +02:00
package.scm ui: Add 'make-regexp*'. 2015-10-28 15:53:17 +01:00
publish.scm publish: Fix file descriptor leak. 2015-10-06 23:51:04 +02:00
pull.scm utils: Add 'switch-symlinks', moved from (guix ui). 2015-10-27 00:01:20 +01:00
refresh.scm refresh: Support comma-separated updater types. 2015-10-28 21:51:59 +03:00
size.scm store: Use the daemon's substitute URLs by default. 2015-10-28 15:31:44 +01:00
substitute.scm substitute: Honor all the specified server URLs. 2015-10-28 12:04:03 +01:00
system.scm guix system: Add the 'list-generations' command. 2015-10-27 00:01:20 +01:00