guix-kreyren/guix/scripts
Ludovic Courtès 59688fc4b5 derivations: 'derivation' and related procedures return a single value.
* guix/derivations.scm (derivation->output-path,
  derivation->output-paths): New procedures.
  (derivation-path->output-path): Use 'derivation->output-path'.
  (derivation-path->output-paths): Use 'derivation->output-paths'.
  (derivation): Accept 'derivation?' objects as inputs.  Return a single
  value.
  (build-derivations): New procedure.
  (compiled-modules): Use 'derivation->output-paths'.
  (build-expression->derivation)[source-path]: Add case for when the
  input matches 'derivation?'.
  [prologue]: Accept 'derivation?' objects in INPUTS.
  [mod-dir, go-dir]: Use 'derivation->output-path'.
* guix/download.scm (url-fetch): Adjust to the single-value return.
* guix/packages.scm (package-output): Use 'derivation->output-path'.
* guix/scripts/build.scm (guix-build): When the argument is
  'derivation-path?', pass it through 'read-derivation'.
  Use 'derivation-file-name' to print out the .drv file names, and to
  register them.  Use 'derivation->output-path' instead of
  'derivation-path->output-path'.
* guix/scripts/package.scm (roll-back): Adjust to the single-value
  return.
  (guix-package): Use 'derivation->output-path'.
* guix/ui.scm (show-what-to-build): Adjust to deal with 'derivation?'
  objects instead of .drv file names.
* gnu/system/grub.scm (grub-configuration-file): Use
  'derivation->output-path' instead of 'derivation-path->output-path'.
* gnu/system/vm.scm (qemu-image, system-qemu-image): Likewise.
* tests/builders.scm, tests/derivations.scm, tests/packages.scm,
  tests/store.scm, tests/union.scm: Adjust to the new calling
  convention.
* doc/guix.texi (Defining Packages, The Store, Derivations): Adjust
  accordingly.
2013-09-18 18:49:53 +02:00
..
build.scm derivations: 'derivation' and related procedures return a single value. 2013-09-18 18:49:53 +02:00
download.scm Use port-sha256' and open-sha256-port'. 2013-07-03 01:18:24 +02:00
gc.scm guix gc: Add `--requisites'. 2013-06-13 22:15:41 +02:00
hash.scm Move `sha256' to (guix hash). 2013-07-01 23:28:21 +02:00
import.scm ui: Add `args-fold*' and use it. 2013-04-27 16:46:39 +02:00
package.scm derivations: 'derivation' and related procedures return a single value. 2013-09-18 18:49:53 +02:00
pull.scm pull: Compile files in the lexicographic order. 2013-09-03 10:48:52 +02:00
refresh.scm guix refresh: Keep only the newest versions of packages as upgrade candidates. 2013-07-11 19:56:30 +02:00
substitute-binary.scm substitute-binary: Add '--help'. 2013-09-13 23:42:36 +02:00