diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-12-14 17:59:32 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2020-12-19 23:25:01 +0100 |
commit | c7c7f068c15e419aaf5ef616516aa5ad4e55c2fa (patch) | |
tree | f672bba546f451bb452174ebf24d30a68ea644ee /etc/committer.scm.in | |
parent | 3c799ccb98ba2ea4c19747306289586e42ae493b (diff) | |
download | guix-c7c7f068c15e419aaf5ef616516aa5ad4e55c2fa.tar.gz guix-c7c7f068c15e419aaf5ef616516aa5ad4e55c2fa.zip |
daemon: Delegate deduplication to 'guix substitute'.
This removes the main source of latency between subsequent downloads.
* nix/libstore/build.cc (SubstitutionGoal::tryToRun): Add a
"deduplicate" key to ENV.
(SubstitutionGoal::finished): Remove call to 'optimisePath'.
* guix/scripts/substitute.scm (process-substitution)[destination-in-store?]
[dump-file/deduplicate*]: New variables.
Pass #:dump-file to 'restore-file'.
* guix/scripts/substitute.scm (guix-substitute)[deduplicate?]: New
variable.
Pass #:deduplicate? to 'process-substitution'.
* guix/serialization.scm (dump-file): Export and augment 'dump-file'.
Diffstat (limited to 'etc/committer.scm.in')
0 files changed, 0 insertions, 0 deletions