guix/gnu/machine
Ludovic Courtès 1033645e9d
machine: ssh: Parameterize '%current-system' early on.
Fixes <https://issues.guix.gnu.org/58084>.
Reported by Maxim Cournoyer <maxim.cournoyer@gmail.com>.

Previously, "sanity checks" and other operations would happen in a
context where '%current-system' has its default value.  Thus, running
'guix deploy' on x86_64-linux machine for an aarch64-linux one would
lead things like '%base-initrd-modules' to see "x86_64-linux" as the
'%current-system' value, in turn making the wrong choices.

* gnu/machine/ssh.scm (check-deployment-sanity)[assertions]: Wrap in
'parameterize'.
(deploy-managed-host): Likewise for the 'mlet' body.
2022-09-26 23:29:35 +02:00
..
digital-ocean.scm Fix misspelling of GUIX_DIGITAL_OCEAN_TOKEN. 2022-09-04 17:57:02 +02:00
ssh.scm machine: ssh: Parameterize '%current-system' early on. 2022-09-26 23:29:35 +02:00