guix-devel/guix
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 Merge branch 'python' 2013-09-14 10:45:01 +02:00
build-system derivations: 'derivation' and related procedures return a single value. 2013-09-18 18:49:53 +02:00
scripts derivations: 'derivation' and related procedures return a single value. 2013-09-18 18:49:53 +02:00
base32.scm Update license headers. 2013-01-06 00:47:50 +01:00
build-system.scm Move record utilities to (guix records). 2013-05-12 15:46:16 +02:00
config.scm.in substitute-binary: Implement `--substitute'. 2013-04-12 21:58:47 +02:00
derivations.scm derivations: 'derivation' and related procedures return a single value. 2013-09-18 18:49:53 +02:00
download.scm derivations: 'derivation' and related procedures return a single value. 2013-09-18 18:49:53 +02:00
ftp-client.scm ftp-client: Let callers handle `ftp-open' exceptions. 2013-05-14 23:51:36 +02:00
gnu-maintenance.scm Rename (guix web) to (guix http-client). 2013-07-14 16:44:15 +02:00
gnupg.scm guix refresh: Add '--key-download'. 2013-06-10 08:15:17 +00:00
hash.scm hash: Add `open-sha256-port'. 2013-07-02 22:38:03 +02:00
http-client.scm utils: Add `guile-version>?', and use it. 2013-08-23 15:51:36 +02:00
licenses.scm licenses: Add 'agpl3' and 'agpl3+'. 2013-06-03 11:39:38 +00:00
nar.scm nar: Add support for symlinks. 2013-04-12 21:58:47 +02:00
packages.scm derivations: 'derivation' and related procedures return a single value. 2013-09-18 18:49:53 +02:00
records.scm records: `recutils->alist' recognizes lines starting with a `+'. 2013-07-10 21:53:29 +02:00
serialization.scm Add (guix nar) and (guix serialization). 2013-04-12 21:57:58 +02:00
snix.scm snix: Prefer synopses from the Womb rather than from Nixpkgs. 2013-04-20 11:52:50 +02:00
store.scm store: The 'references' parameter of 'add-text-to-store' is now optional. 2013-09-11 01:07:49 +02:00
ui.scm derivations: 'derivation' and related procedures return a single value. 2013-09-18 18:49:53 +02:00
utils.scm utils: Add `guile-version>?', and use it. 2013-08-23 15:51:36 +02:00