guix-devel/guix
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
..
build build-system/haskell: CONFIG_SHELL env variable. 2015-10-26 10:15:14 +01:00
build-system build-system/gnu: dist-package: Use 'autoconf-wrapper'. 2015-10-14 21:39:05 +02:00
import upstream: Add 'description' field to 'upstream-updater'. 2015-10-27 21:54:57 +03:00
scripts scripts: environment: Allow mixing regular and ad-hoc packages. 2015-10-29 16:24:12 -04:00
base32.scm
base64.scm
build-system.scm
config.scm.in utils: Remove Nixpkgs helpers. 2015-10-06 23:51:04 +02:00
cpio.scm
cvs-download.scm
derivations.scm
download.scm Update CRAN mirrors. 2015-09-21 10:48:26 +02:00
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm gexp: Add 'scheme-file'. 2015-10-10 22:46:15 +02:00
git-download.scm download: Disable offloading for downloads. 2015-09-05 22:11:03 +02:00
gnu-maintenance.scm upstream: Add 'description' field to 'upstream-updater'. 2015-10-27 21:54:57 +03:00
gnupg.scm
hash.scm
http-client.scm http-client: '%http-cache-ttl' is really a parameter. 2015-10-21 14:43:34 +02:00
licenses.scm licenses: Add Zope Public License. 2015-09-22 14:57:00 +02:00
monad-repl.scm
monads.scm monads: Fix 'liftN' fallback case. 2015-09-04 18:31:06 +02:00
nar.scm
packages.scm packages: Use locales from the /X.Y sub-directory of the locale package. 2015-10-04 10:19:42 +02:00
pk-crypto.scm
pki.scm
profiles.scm profiles: Add generation manipulation procedures. 2015-10-27 00:01:20 +01:00
records.scm
scripts.scm emacs: Add 'guix-devel-build-package-source'. 2015-10-12 10:59:31 +03:00
search-paths.scm
serialization.scm
sets.scm
store.scm store: Use the daemon's substitute URLs by default. 2015-10-28 15:31:44 +01:00
svn-download.scm
tests.scm tests: 'open-connection-for-tests' takes an optional parameter. 2015-09-28 22:53:59 +02:00
ui.scm ui: Add 'make-regexp*'. 2015-10-28 15:53:17 +01:00
upstream.scm upstream: Add 'description' field to 'upstream-updater'. 2015-10-27 21:54:57 +03:00
utils.scm utils: Add 'switch-symlinks', moved from (guix ui). 2015-10-27 00:01:20 +01:00