guix/doc
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
..
images
contributing.texi doc: Add texinfo to the requirements when building from git. 2015-10-28 12:04:02 +01:00
emacs.texi doc: Add a REPL example. 2015-10-27 00:01:20 +01:00
environment-gdb.scm
fdl-1.3.texi
guix.texi scripts: environment: Allow mixing regular and ad-hoc packages. 2015-10-29 16:24:12 -04:00
package-hello.scm