summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Graves <ngraves@ngraves.fr>2026-08-03 22:13:34 +0200
committerAndreas Enge <andreas@enge.fr>2026-08-17 11:00:37 +0200
commita664812b7bbefcd4b312870f938dc92fe6dfa52a (patch)
tree0c7613c1d786e143f04e564f8375ec6dfc64dcb2
parent42cb71a916d87abd773efe6b25e7cee015972426 (diff)
gnu: openssh: Allow store-prefixed ssh-agent providers.
* gnu/packages/ssh.scm (openssh)[arguments]<#:phases>{set-store-location}: Extend phase and rename it to... * {set-store-location}: ...this. Fixes: guix/guix#10224
-rw-r--r--gnu/packages/ssh.scm8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index 82d62e40a65..35a2da50445 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -284,11 +284,15 @@ a server that supports the SSH-2 protocol.")
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 'trust-store-location
288 (lambda _ 288 (lambda _
289 (substitute* "misc.c" 289 (substitute* "misc.c"
290 (("@STORE_DIRECTORY@") 290 (("@STORE_DIRECTORY@")
291 (string-append "\"" (%store-directory) "/\""))))) 291 (string-append "\"" (%store-directory) "/\"")))
292 (substitute* "ssh-agent.c"
293 (("DEFAULT_ALLOWED_PROVIDERS \"")
294 (string-append "DEFAULT_ALLOWED_PROVIDERS "
295 "\"" (%store-directory) "/**/lib*/*,")))))
292 (add-before 'check 'patch-tests 296 (add-before 'check 'patch-tests
293 (lambda _ 297 (lambda _
294 (substitute* "regress/test-exec.sh" 298 (substitute* "regress/test-exec.sh"