diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-03-06 11:14:17 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-03-06 23:25:51 +0100 |
commit | 9e3061a163abcae5ccd3823ba3d8f757a0478e40 (patch) | |
tree | 63bb3543845d632c35722f98332a0aa03c9033b4 /gnu | |
parent | 364422d0ac6608e9297070b80d091a3c11c6cce7 (diff) | |
download | guix-9e3061a163abcae5ccd3823ba3d8f757a0478e40.tar.gz guix-9e3061a163abcae5ccd3823ba3d8f757a0478e40.zip |
services: virtual-build-machine: Disable substitutes by default.
These are useless when offloading yet were causing problems on systems
where the default substitute servers are unreachable.
* gnu/services/virtualization.scm (%virtual-build-machine-operating-system):
Add ‘use-substitutes?’ field to ‘guix-configuration’.
Change-Id: I7d5e380a6f2e2d537de43fdb3c550958ed4db255
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/services/virtualization.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm index 7b04ddb35e..fc5adb94d0 100644 --- a/gnu/services/virtualization.scm +++ b/gnu/services/virtualization.scm @@ -1220,10 +1220,13 @@ authpriv.*;auth.info /var/log/secure ;; pre-initialized /etc/guix/acl file in the VM. Thus, ;; clear 'authorize-key?' so that it's not overridden ;; at activation time. + ;; Since it's used for offloading, disable substitutes + ;; (this avoids network issues). (guix-service-type config => (guix-configuration (inherit config) - (authorize-key? #f))) + (authorize-key? #f) + (use-substitutes? #f))) (syslog-service-type config => (syslog-configuration (config-file |