diff options
| author | Yelninei <yelninei@tutamail.com> | 2026-06-03 11:01:40 +0000 |
|---|---|---|
| committer | Andreas Enge <andreas@enge.fr> | 2026-08-17 11:00:34 +0200 |
| commit | c65acc89b2404f0e2ceeb9dfb1ba641cfb6127f7 (patch) | |
| tree | 52dac0c5140424c239896c3abaeda075852f0414 /gnu/packages/ssh.scm | |
| parent | ec1e89e24c8b25b319530d93e34c08125fea6ef4 (diff) | |
gnu: openssh: Ungexp conditional configure-flags later.
* gnu/packages/ssh.scm (openssh)[#:configure-flags]: Ungexp the entire
conditional expression instead of only the condition.
Change-Id: I1fac110a4c4a80509cce1f3336af508cf6a40eb3
Signed-off-by: Andreas Enge <andreas@enge.fr>
Diffstat (limited to 'gnu/packages/ssh.scm')
| -rw-r--r-- | gnu/packages/ssh.scm | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index e6d0176eea2..82d62e40a65 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm | |||
| @@ -256,32 +256,32 @@ a server that supports the SSH-2 protocol.") | |||
| 256 | #:make-flags | 256 | #:make-flags |
| 257 | #~(list "REGRESSTMP=\"$${BUILDDIR}/regress\"") | 257 | #~(list "REGRESSTMP=\"$${BUILDDIR}/regress\"") |
| 258 | #:configure-flags | 258 | #:configure-flags |
| 259 | #~(append | 259 | #~(list |
| 260 | (list "--sysconfdir=/etc/ssh" | 260 | "--sysconfdir=/etc/ssh" |
| 261 | ;; Default value of 'PATH' used by sshd. | 261 | ;; Default value of 'PATH' used by sshd. |
| 262 | "--with-default-path=/run/current-system/profile/bin" | 262 | "--with-default-path=/run/current-system/profile/bin" |
| 263 | ;; configure needs to find krb5-config. | 263 | ;; configure needs to find krb5-config. |
| 264 | (string-append "--with-kerberos5=" | 264 | (string-append "--with-kerberos5=" |
| 265 | #$(this-package-input "mit-krb5") | 265 | #$(this-package-input "mit-krb5") |
| 266 | "/bin") | 266 | "/bin") |
| 267 | ;; libedit is needed for sftp completion. | 267 | ;; libedit is needed for sftp completion. |
| 268 | "--with-libedit") | 268 | "--with-libedit" |
| 269 | ;; Enable PAM support in sshd. | 269 | ;; Enable PAM support in sshd. |
| 270 | (if #$(target-hurd?) | 270 | #$@(if (target-hurd?) |
| 271 | '() | 271 | #~() |
| 272 | (list "--with-pam" | 272 | #~("--with-pam" |
| 273 | ;; Support creation and use of ecdsa-sk, ed25519-sk keys. | 273 | ;; Support creation and use of ecdsa-sk, ed25519-sk keys. |
| 274 | "--with-security-key-builtin")) | 274 | "--with-security-key-builtin")) |
| 275 | ;; "make install" runs "install -s" by default, which doesn't work for | 275 | ;; "make install" runs "install -s" by default, which doesn't work for |
| 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 | (append (list "--disable-strip") | 279 | #~("--disable-strip" |
| 280 | (let ((xauth #$(this-package-input "xauth"))) | 280 | #$@(let ((xauth (this-package-input "xauth"))) |
| 281 | (if xauth | 281 | (if xauth |
| 282 | (list (string-append "--with-xauth=" xauth "/bin/xauth")) | 282 | #~((string-append "--with-xauth=" #$xauth "/bin/xauth")) |
| 283 | '()))) | 283 | #~()))) |
| 284 | '())) | 284 | #~())) |
| 285 | #:phases | 285 | #:phases |
| 286 | #~(modify-phases %standard-phases | 286 | #~(modify-phases %standard-phases |
| 287 | (add-after 'configure 'set-store-location | 287 | (add-after 'configure 'set-store-location |
