build: Fix detection of guile-ssh.

Fixes <https://issues.guix.gnu.org/74800>.

The check for make-session stopped working after update to 0.18.0.  This
commit adds the additional `#:config #f' to skip reading the ssh
configuration, arguably we did not want to do that anyway.

* m4/guix.m4 (GUIX_CHECK_GUILE_SSH): Add `#:config #f' to make-session call.

Change-Id: Id6ea3860292159ac2e6cf2a77df5f720f66aa071
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Reported-by: Dariqq <dariqq@posteo.net>
This commit is contained in:
Tomas Volf 2024-12-11 23:09:57 +01:00 committed by Ludovic Courtès
parent a9003b8e6b
commit b8a45bd047
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -143,7 +143,7 @@ AC_DEFUN([GUIX_CHECK_GUILE_SSH], [
(@ (ssh popen) open-remote-pipe)
(@ (ssh dist node) node-eval)
(@ (ssh auth) userauth-gssapi!)
((@ (ssh session) make-session) #:nodelay #t))])
((@ (ssh session) make-session) #:nodelay #t #:config #f))])
if test "$retval" = 0; then
guix_cv_have_recent_guile_ssh="yes"
else