install: Discover local substitute servers.
authorMathieu Othacehe <othacehe@gnu.org>
Fri, 4 Dec 2020 10:33:16 +0000 (11:33 +0100)
committerMathieu Othacehe <othacehe@gnu.org>
Fri, 11 Dec 2020 20:37:07 +0000 (21:37 +0100)
commit8361817bf693742757b096468198626f297bb09e
treefe2008436678b49cb81f66811345e0474da2bafe
parent6ca66f641485cc5a06ba7d34b9c36b738ea1d654
install: Discover local substitute servers.

* gnu/installer/substitutes.scm: New file.
* gnu/installer/newt/substitutes.scm: New file.
* gnu/local.mk (INSTALLER_MODULES): Add them.
* po/guix/POTFILES.in: Add gnu/installer/newt/substitutes.scm.
* gnu/installer/proxy.scm (with-silent-shepherd): Move to ...
* gnu/installer/utils.scm: ... here.
* gnu/installer/record.scm (<installer>)[substitutes-page]: New field.
* gnu/installer/newt.scm (substitutes-page): New procedure,
(newt-installer): register it.
* gnu/installer.scm (installer-steps): Add "substitutes-page" step.
* gnu/system/install.scm (%installation-services): Add avahi-service-type and
enable substitute server discover in guix-service-type.
[<name-service-switch>]: Set it to %mdns-host-lookup-nss.
gnu/installer.scm
gnu/installer/newt.scm
gnu/installer/newt/substitutes.scm [new file with mode: 0644]
gnu/installer/proxy.scm
gnu/installer/record.scm
gnu/installer/substitutes.scm [new file with mode: 0644]
gnu/installer/utils.scm
gnu/local.mk
gnu/system/install.scm
po/guix/POTFILES.in