summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorYelninei <yelninei@tutamail.com>2026-06-02 17:08:47 +0000
committerAndreas Enge <andreas@enge.fr>2026-08-17 11:00:34 +0200
commitec1e89e24c8b25b319530d93e34c08125fea6ef4 (patch)
tree520705ea011becb7db9d5b8d56b6eed99a38ba74 /gnu/packages
parent754faef457512700b0845180b44d51f458730522 (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/packages')
-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 92933a16892..e6d0176eea2 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