diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2020-11-09 23:24:33 +0100 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2020-11-09 23:27:09 +0100 |
| commit | 70ffa8af1e93ab8a92c4622745e9cb4a2782f3c8 (patch) | |
| tree | 9d9be4d2e06299e209c364c388c211b47cef976e /gnu/machine/ssh.scm | |
| parent | d75475762824a4fa7e743138da6a9d59d8690a33 (diff) | |
machine: ssh: Do not import the host (guix config).
* gnu/machine/ssh.scm (machine-boot-parameters): Use 'make-config.scm'
for (guix config).
Diffstat (limited to 'gnu/machine/ssh.scm')
| -rw-r--r-- | gnu/machine/ssh.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gnu/machine/ssh.scm b/gnu/machine/ssh.scm index a3a12fb54bf..1b748c8da79 100644 --- a/gnu/machine/ssh.scm +++ b/gnu/machine/ssh.scm | |||
| @@ -37,6 +37,7 @@ | |||
| 37 | #:use-module (guix ssh) | 37 | #:use-module (guix ssh) |
| 38 | #:use-module (guix store) | 38 | #:use-module (guix store) |
| 39 | #:use-module (guix utils) | 39 | #:use-module (guix utils) |
| 40 | #:use-module ((guix self) #:select (make-config.scm)) | ||
| 40 | #:use-module (gcrypt pk-crypto) | 41 | #:use-module (gcrypt pk-crypto) |
| 41 | #:use-module (ice-9 format) | 42 | #:use-module (ice-9 format) |
| 42 | #:use-module (ice-9 match) | 43 | #:use-module (ice-9 match) |
| @@ -353,8 +354,9 @@ of MACHINE's system profile, ordered from most recent to oldest." | |||
| 353 | 354 | ||
| 354 | (define remote-exp | 355 | (define remote-exp |
| 355 | (with-extensions (list guile-gcrypt) | 356 | (with-extensions (list guile-gcrypt) |
| 356 | (with-imported-modules (source-module-closure '((guix config) | 357 | (with-imported-modules (source-module-closure |
| 357 | (guix profiles))) | 358 | `(((guix config) => ,(make-config.scm)) |
| 359 | (guix profiles))) | ||
| 358 | #~(begin | 360 | #~(begin |
| 359 | (use-modules (guix config) | 361 | (use-modules (guix config) |
| 360 | (guix profiles) | 362 | (guix profiles) |
