guix-devel/guix/scripts
Ludovic Courtès 6b6298ae39 environment: Add only the specified outputs of the dependencies.
Before that, 'guix environment guile' (for instance) would define environment
variables that would refer to the "include" output of Bash, the "debug" output
of libgc, etc., even though these are not listed as inputs in the recipe of
'guile'.

* guix/gexp.scm (lower-inputs): Export.
* guix/scripts/environment.scm (evaluate-input-search-paths): Remove
  'derivations' parameter; add 'search-paths'.  Expect 'inputs' to be
  a list of tuples.  Adjust callers.
  (create-environment): Remove 'derivations' parameter; add 'search-paths'.
  (show-search-paths): Likewise.
  (package+propagated-inputs): New procedure.
  (packages->transitive-inputs, packages+propagated-inputs): Remove.
  (build-inputs): Expect INPUTS to be a list of derivation tuples.
  (guix-environment): Compute INPUTS using 'package+propagated-inputs',
  'package->bag', and 'bag-transitive-inputs'.  Move 'run-with-store' higher.
* tests/guix-environment.sh: Add test with FINDUTILS-BOOT0.
2015-07-01 23:29:49 +02:00
..
import import: hackage: Refactor parsing code and add new options. 2015-06-09 09:48:38 +02:00
archive.scm Move 'specification->package+output' to (gnu packages). 2015-06-18 00:25:48 +02:00
authenticate.scm Remove assorted Guile 2.0.5 workarounds. 2015-05-10 11:07:51 +02:00
build.scm guix build: Allow directories to be passed to --with-source. 2015-06-11 11:19:12 +02:00
download.scm Use `port-sha256' and `open-sha256-port'. 2013-07-03 01:18:24 +02:00
edit.scm Add 'guix edit'. 2015-06-18 00:25:49 +02:00
environment.scm environment: Add only the specified outputs of the dependencies. 2015-07-01 23:29:49 +02:00
gc.scm guix gc: Add '--verify'. 2015-06-06 19:05:56 +02:00
hash.scm Break module cycle involving (guix store) and (guix ui). 2014-10-09 23:51:19 +02:00
import.scm guix: Clean up --help messages. 2015-06-08 11:46:05 +03:00
lint.scm guix: Clean up --help messages. 2015-06-08 11:46:05 +03:00
offload.scm offload: Fix sorting bug in 'choose-build-machine'. 2015-06-17 15:33:08 -04:00
package.scm Move 'specification->package+output' to (gnu packages). 2015-06-18 00:25:48 +02:00
publish.scm publish: Add '--listen'. 2015-05-12 21:22:52 +02:00
pull.scm pull: Always install the ~/.config/guix/latest symlink. 2015-02-06 17:39:10 +01:00
refresh.scm refresh: Allow users to refer to specific package versions. 2015-04-16 23:15:06 +02:00
size.scm size: Add '--map-file' option. 2015-06-21 23:39:12 +02:00
substitute.scm Remove assorted Guile 2.0.5 workarounds. 2015-05-10 11:07:51 +02:00
system.scm guix system: init: Overwrite the items in the target store. 2015-06-10 10:31:47 +02:00