guix-devel/nix
Ludovic Courtès 9b5364a3af
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.
2017-01-11 17:06:31 +01:00
..
boost
guix-register
libstore daemon: Allow check builds of 'builtin:download' derivations. 2017-01-11 17:06:31 +01:00
libutil daemon: Remove unused XML output code. 2016-05-31 18:22:14 +02:00
nix-daemon daemon: Set ownership of kept build directories to the calling user. 2016-12-09 15:46:09 +01:00
scripts daemon: Add "builtin:download" derivation builder. 2016-11-16 18:19:47 +01:00
.gitignore
AUTHORS
COPYING
local.mk build: Delete all the .service and .conf files upon 'make clean'. 2016-12-20 15:14:40 +01:00