mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 21:59:08 -05:00
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
This commit is contained in:
parent
364422d0ac
commit
9e3061a163
1 changed files with 4 additions and 1 deletions
|
@ -1220,10 +1220,13 @@ (define %virtual-build-machine-operating-system
|
|||
;; 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
|
||||
|
|
Loading…
Reference in a new issue