[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: machine: ssh: Do not import the host (guix config).
From: |
guix-commits |
Subject: |
02/03: machine: ssh: Do not import the host (guix config). |
Date: |
Mon, 9 Nov 2020 17:38:19 -0500 (EST) |
civodul pushed a commit to branch version-1.2.0
in repository guix.
commit 70ffa8af1e93ab8a92c4622745e9cb4a2782f3c8
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Nov 9 23:24:33 2020 +0100
machine: ssh: Do not import the host (guix config).
* gnu/machine/ssh.scm (machine-boot-parameters): Use 'make-config.scm'
for (guix config).
---
gnu/machine/ssh.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/machine/ssh.scm b/gnu/machine/ssh.scm
index a3a12fb..1b748c8 100644
--- a/gnu/machine/ssh.scm
+++ b/gnu/machine/ssh.scm
@@ -37,6 +37,7 @@
#:use-module (guix ssh)
#:use-module (guix store)
#:use-module (guix utils)
+ #:use-module ((guix self) #:select (make-config.scm))
#:use-module (gcrypt pk-crypto)
#:use-module (ice-9 format)
#:use-module (ice-9 match)
@@ -353,8 +354,9 @@ of MACHINE's system profile, ordered from most recent to
oldest."
(define remote-exp
(with-extensions (list guile-gcrypt)
- (with-imported-modules (source-module-closure '((guix config)
- (guix profiles)))
+ (with-imported-modules (source-module-closure
+ `(((guix config) => ,(make-config.scm))
+ (guix profiles)))
#~(begin
(use-modules (guix config)
(guix profiles)