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 scripts: container: Fix 'exec' command line parsing. 2015-11-03 18:05:43 -05:00
import import cran: Add "recursive" option. 2016-12-17 19:13:41 +01:00
archive.scm guix archive: Allow compilation in the absence of Guile-JSON. 2017-01-10 15:56:49 +01:00
authenticate.scm Use (ice-9 binary-ports) instead of (rnrs io ports). 2016-10-19 15:54:10 +02:00
build.scm guix build: '--with-source' overrides the 'replacement' of a package. 2016-12-21 23:48:14 +01:00
challenge.scm challenge: Disable grafting. 2016-07-14 19:07:07 +02:00
container.scm scripts: Add 'container' subcommand. 2015-11-01 18:20:04 -05:00
copy.scm Add 'guix copy'. 2016-12-31 18:35:29 +01:00
download.scm guix download: Add '-o' option. 2016-11-16 18:00:41 +01:00
edit.scm edit: Do not honor 'GUIX_BUILD_OPTIONS'. 2016-08-19 17:34:37 +02:00
environment.scm environment: Add '--root' option. 2016-12-20 19:14:41 +01:00
gc.scm guix gc: Display of saved space for garbage collection. 2016-07-16 14:41:39 +02:00
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 guix import: Print list of expressions. 2016-12-17 19:13:41 +01:00
lint.scm Merge branch 'master' into python-build-system 2016-11-25 11:20:21 -05:00
offload.scm Add (guix ssh) module. 2016-12-31 01:44:04 +01:00
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 publish: Factorize 'content-length' addition. 2016-12-04 22:32:26 +01:00
pull.scm utils: Add 'switch-symlinks', moved from (guix ui). 2015-10-27 00:01:20 +01:00
refresh.scm refresh: Make dependency on (guix import crates) weak. 2016-12-16 17:38:39 +01:00
size.scm size: Fix corner case with multiple items on the command line. 2016-07-29 22:32:04 +02:00
substitute.scm substitute: Disable HTTPS certificate verification. 2016-11-12 13:04:45 +01:00
system.scm guix system: If the new system generation already exists, overwrite it. 2016-12-05 23:19:37 +01:00