diff options
| author | Yelninei <yelninei@tutamail.com> | 2026-06-02 17:08:47 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-06-03 11:26:57 +0200 |
| commit | a4ea5ef737ee940f63cb81db2a630cb7f5bd6ad6 (patch) | |
| tree | c5b9675d14b8719303c87fd79fe727d9e0658fe6 | |
| parent | 2bb02486c5bd3b2e123d7d15cb37782b4c03b8db (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>
| -rw-r--r-- | gnu/packages/ssh.scm | 6 |
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 |
