guix-devel/guix/scripts
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
..
container
import
archive.scm guix archive: Allow compilation in the absence of Guile-JSON. 2017-01-10 15:56:49 +01:00
authenticate.scm
build.scm
challenge.scm
container.scm
copy.scm Add 'guix copy'. 2016-12-31 18:35:29 +01:00
download.scm
edit.scm
environment.scm
gc.scm
graph.scm graph: Add '%reverse-package-node-type'. 2017-01-04 16:18:53 +01:00
hash.scm guix hash: '-x' excludes '.git' even when it is a regular file. 2017-01-02 15:23:21 +01:00
import.scm
lint.scm
offload.scm
package.scm guix package: Fix version and output for 'guix package -i /gnu/store/…'. 2017-01-11 11:58:21 +01:00
perform-download.scm daemon: Allow check builds of 'builtin:download' derivations. 2017-01-11 17:06:31 +01:00
publish.scm
pull.scm
refresh.scm
size.scm
substitute.scm
system.scm