summary refs log tree commit diff
path: root/nix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2013-01-09 08:38:57 +0100
committerLudovic Courtès <ludo@gnu.org>2013-01-09 08:38:57 +0100
commit784bb1f37bfe7efd0c31fdcf207b0459f4edc7bf (patch)
tree88a40721eede3fca270c792770e06ad1b82bb0af /nix
parent98fefb210a8b355306de20d3afe5d02dd31a5cbf (diff)
downloadguix-784bb1f37bfe7efd0c31fdcf207b0459f4edc7bf.tar.gz
derivations: Fix `derivation-prerequisites-to-build' when outputs are there.
Before it would list inputs not built, even if the outputs of the given
derivation were already available.

* guix/derivations.scm (derivation-prerequisites-to-build): Add
  `outputs' keyword parameter.
  [built?, derivation-built?]: New procedures.
  [loop]: Add `sub-drvs' parameter.  Use `derivation-built?' to check if
  the SUB-DRVS of DRV are built before checking its inputs.
Diffstat (limited to 'nix')
0 files changed, 0 insertions, 0 deletions