guix-devel/nix/libstore
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
..
.gitignore
build.cc daemon: Allow check builds of 'builtin:download' derivations. 2017-01-11 17:06:31 +01:00
builtins.cc daemon: Allow check builds of 'builtin:download' derivations. 2017-01-11 17:06:31 +01:00
builtins.hh daemon: Allow check builds of 'builtin:download' derivations. 2017-01-11 17:06:31 +01:00
derivations.cc
derivations.hh
gc.cc
globals.cc
globals.hh daemon: Set ownership of kept build directories to the calling user. 2016-12-09 15:46:09 +01:00
local-store.cc
local-store.hh
misc.cc
misc.hh
optimise-store.cc
pathlocks.cc
pathlocks.hh
references.cc
references.hh
schema.sql
sqlite.cc
sqlite.hh
store-api.cc
store-api.hh
worker-protocol.hh