diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-09-26 17:37:43 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-09-26 23:29:35 +0200 |
commit | 1033645e9d3899edd6b052b19e24c0a718b95e88 (patch) | |
tree | c97fa94b8a9dc58a117ccbfd11de9766e7a0f9b9 /etc/snippets/tempel/text-mode | |
parent | 28a50eeac796d1b45200746cc685c7e20413d05c (diff) | |
download | guix-1033645e9d3899edd6b052b19e24c0a718b95e88.tar.gz |
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.
Diffstat (limited to 'etc/snippets/tempel/text-mode')
0 files changed, 0 insertions, 0 deletions