guix/nix
Ludovic Courtès 95f2123135
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.
2023-09-26 17:36:58 +02:00
..
boost nix: Tweak .gitignore files. 2020-06-24 19:55:22 +01:00
libstore daemon: Add “git-download” built-in builder. 2023-09-26 17:36:58 +02:00
libutil daemon: Improve error message for wrong hash sizes. 2023-01-09 17:40:54 +01:00
nix-daemon daemon: Support systemd-style socket activation. 2022-04-14 14:48:20 +02:00
.gitignore
AUTHORS
COPYING
local.mk build: Add missing guix-gc.timer file to binary tarball. 2023-08-31 23:31:49 -04:00