diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-01-11 17:06:31 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-01-11 17:06:31 +0100 |
commit | 9b5364a3afb03414bd6e3ded2fbfdacabe4e8870 (patch) | |
tree | 82ff386c867e792cf8ca2d1cf3c1b68390d6d2de /emacs | |
parent | aa042770da2fe6411089a965ea8b2219a99d3448 (diff) | |
download | patches-9b5364a3afb03414bd6e3ded2fbfdacabe4e8870.tar patches-9b5364a3afb03414bd6e3ded2fbfdacabe4e8870.tar.gz |
daemon: Allow check builds of 'builtin:download' derivations.
Fixes <http://bugs.gnu.org/25089>.
Reported by Leo Famulari <leo@famulari.name>.
* nix/libstore/build.cc (DerivationGoal::runChild): In the 'isBuiltin'
case, check whether DRV's output is in 'redirectedOutputs', and pass an
'output' argument to the built-in builder.
(DerivationGoal::addHashRewrite): Add 'printMsg' call.
* nix/libstore/builtins.hh (derivationBuilder): Add 'output' parameter.
* nix/libstore/builtins.cc (builtinDownload): Likewise.
Add OUTPUT to ARGV.
* guix/scripts/perform-download.scm (perform-download): Add 'output'
parameter.
(guix-perform-download): Adjust 'match' clauses accordingly.
* tests/derivations.scm ("'download' built-in builder, check mode"): New
test.
Diffstat (limited to 'emacs')
0 files changed, 0 insertions, 0 deletions