guix-devel/tests
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
..
base32.scm Move `sha256' to (guix hash). 2013-07-01 23:28:21 +02:00
build-utils.scm Augment `.dir-locals.el'. 2013-02-01 13:16:45 +01:00
builders.scm derivations: 'derivation' and related procedures return a single value. 2013-09-18 18:49:53 +02:00
derivations.scm derivations: 'derivation' and related procedures return a single value. 2013-09-18 18:49:53 +02:00
guix-build.sh build: Add `--target' option. 2013-05-24 22:52:52 +02:00
guix-daemon.sh Replace individual scripts with master 'guix' script. 2013-02-16 22:17:37 -05:00
guix-download.sh Replace individual scripts with master 'guix' script. 2013-02-16 22:17:37 -05:00
guix-gc.sh guix gc: Add `--references' and `--referrers'. 2013-02-27 23:16:00 +01:00
guix-hash.sh tests: Add `guix hash' test. 2013-05-11 15:09:56 +02:00
guix-package.sh tests: Clarify filtering of the "debug" output. 2013-09-18 16:42:51 +02:00
hash.scm hash: Add `open-sha256-port'. 2013-07-02 22:38:03 +02:00
nar.scm tests: Fix out-of-source builds. 2013-05-11 15:43:33 +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
snix.scm Augment `.dir-locals.el'. 2013-02-01 13:16:45 +01:00
store.scm derivations: 'derivation' and related procedures return a single value. 2013-09-18 18:49:53 +02:00
test.drv Add unit test for derivation parsing and output. 2012-04-19 23:09:55 +02:00
ui.scm guix-package: Report `--search' matches in recutils format. 2013-02-01 13:16:41 +01:00
union.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