summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorYelninei <yelninei@tutamail.com>2026-06-02 17:08:47 +0000
committerAndreas Enge <andreas@enge.fr>2026-06-23 14:11:19 +0200
commitc691a03b43a8834384eb26dade863e235171c50c (patch)
treec1ccf9834800385cffd213401009c71bb60900d2 /gnu
parentaadaceb82fe07192037bc1a3a032b24fb4fa7d39 (diff)
gnu: openssh: Set path to xauth when cross compiling.
* gnu/packages/ssh.scm (openssh)[#:configure-flags]: When cross-compiling, set --with-xauth flag. Change-Id: I11aae7af14872d980be3679410d0f700e6b41137 Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ssh.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 4e26f1ee913..b2772185657 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -276,7 +276,11 @@ a server that supports the SSH-2 protocol.")
276 ;; cross-compiled binaries because it invokes 'strip' instead of 276 ;; cross-compiled binaries because it invokes 'strip' instead of
277 ;; 'TRIPLET-strip'. Work around this. 277 ;; 'TRIPLET-strip'. Work around this.
278 (if #$(%current-target-system) 278 (if #$(%current-target-system)
279 (list "--disable-strip") 279 (append (list "--disable-strip")
280 (let ((xauth #$(this-package-input "xauth")))
281 (if xauth
282 (list (string-append "--with-xauth=" xauth "/bin/xauth"))
283 '())))
280 '())) 284 '()))
281 #:phases 285 #:phases
282 #~(modify-phases %standard-phases 286 #~(modify-phases %standard-phases