guix-devel/guix
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
..
build gnu: Add ocaml-build-system. 2017-01-04 16:03:39 +01:00
build-system gnu: Add ocaml-build-system. 2017-01-04 16:03:39 +01:00
import build-system: cargo: Handle Cargo.lock file not present. 2017-01-01 18:20:52 +01:00
scripts daemon: Allow check builds of 'builtin:download' derivations. 2017-01-11 17:06:31 +01:00
tests tests: Move HTTP server to (guix tests http). 2016-11-16 18:00:41 +01:00
base32.scm
base64.scm
build-system.scm
combinators.scm
config.scm.in
cpio.scm
cve.scm
cvs-download.scm
derivations.scm derivations: Share a cache between 'derivation' and 'read-derivation'. 2017-01-05 23:45:39 +01:00
docker.scm guix: Add Docker image export. 2017-01-06 16:44:00 +01:00
download.scm derivations: Add 'raw-derivation'. 2016-11-19 18:44:53 +01:00
elf.scm
ftp-client.scm
gcrypt.scm
gexp.scm gexp: Support 'ungexp' forms in improper lists. 2017-01-01 23:30:30 +01:00
git-download.scm git-download: Add some helpers. 2017-01-04 11:44:07 +01:00
gnu-maintenance.scm gnu-maintenance: Update ViewVC URLs. 2017-01-01 23:30:30 +01:00
gnupg.scm
grafts.scm grafts: Move caching to a new 'with-cache' macro. 2017-01-04 16:18:52 +01:00
graph.scm graph: Add d3js backend. 2016-12-14 21:58:32 +01:00
hash.scm
hg-download.scm
http-client.scm http-client: Improve error reporting. 2017-01-10 15:34:11 +01:00
licenses.scm
modules.scm
monad-repl.scm
monads.scm
nar.scm
packages.scm
pk-crypto.scm
pki.scm
profiles.scm profiles: Remove dependency on 'glibc-utf8-locales' for tests. 2016-12-17 14:46:42 +01:00
records.scm
scripts.scm
search-paths.scm
serialization.scm
sets.scm
ssh.scm ssh: 'retrieve-files' detects remote export failures. 2016-12-31 18:35:29 +01:00
store.scm store: 'open-connection' no longer raises '&nar-error' for protocol errors. 2016-12-08 23:12:11 +01:00
svn-download.scm
tests.scm
ui.scm ui: Keep the word "Copyright" untranslated. 2017-01-02 23:14:36 +01:00
upstream.scm upstream: Determine archive type correctly. 2016-12-15 05:57:03 +01:00
utils.scm guix package: Fix version and output for 'guix package -i /gnu/store/…'. 2017-01-11 11:58:21 +01:00
zlib.scm