summary refs log tree commit diff
path: root/gnu/packages/ssh.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-04 14:53:15 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2021-02-04 14:58:10 -0500
commit3299530c4387fc897877f8a302ec1d0b84ed31a6 (patch)
treedd146c2bb67d0d95700c1c28f90d0fd2c8f4663a /gnu/packages/ssh.scm
parentab8a175f908ad3e83409eed4c1473d86ab1a8ce0 (diff)
downloadguix-3299530c4387fc897877f8a302ec1d0b84ed31a6.tar.gz
gnu: guile-ssh: Fix test suite on Guile 3.0.5.
* gnu/packages/patches/guile-ssh-fix-test-suite.patch: New file.
* gnu/local.mk: Register it.
* gnu/packages/ssh.scm (guile-ssh)[source]: Use it.  Also provide a better
file name than 'git-checkout'.
Diffstat (limited to 'gnu/packages/ssh.scm')
-rw-r--r--gnu/packages/ssh.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
index b31b0764cd..d8a0d777ba 100644
--- a/gnu/packages/ssh.scm
+++ b/gnu/packages/ssh.scm
@@ -314,10 +314,11 @@ Additionally, various channel-specific options can be negotiated.")
               (uri (git-reference
                     (url home-page)
                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
                 "1xpxkvgj7wgcl450djkcrmrf957mcy2f36hfs5g6kpla1gax2d1g"))
-              (modules '((guix build utils)))))
+              (patches (search-patches "guile-ssh-fix-test-suite.patch"))))
     (build-system gnu-build-system)
     (outputs '("out" "debug"))
     (arguments