diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2023-09-11 14:22:44 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-09-26 17:36:58 +0200 |
commit | 95f21231352b66f92c466cb30f2258291e854f2f (patch) | |
tree | 74612aea6ae4bab10c4aa704296b778fc18b40d0 /.mailmap | |
parent | 9d0e2002a54366c53bf9deb52471646529474e7d (diff) | |
download | guix-95f21231352b66f92c466cb30f2258291e854f2f.tar.gz guix-95f21231352b66f92c466cb30f2258291e854f2f.zip |
daemon: Add “git-download” built-in builder.
The new builder makes it possible to break cycles that occurs when the
fixed-output derivation for the source of a dependency of ‘git’ would
itself depend on ‘git’.
* guix/scripts/perform-download.scm (perform-git-download): New
procedure.
(perform-download): Move fixed-output derivation check to…
(guix-perform-download): … here. Invoke ‘perform-download’ or
‘perform-git-download’ depending on what ‘derivation-builder’ returns.
* nix/libstore/builtins.cc (builtins): Add “git-download”.
* tests/derivations.scm ("built-in-builders"): Update.
("'git-download' built-in builder")
("'git-download' built-in builder, invalid hash")
("'git-download' built-in builder, invalid commit")
("'git-download' built-in builder, not found"): New tests.
Diffstat (limited to '.mailmap')
0 files changed, 0 insertions, 0 deletions