diff options
author | Nikita Karetnikov <nikita@karetnikov.org> | 2014-04-12 16:18:45 +0400 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-04-12 14:41:47 +0200 |
commit | ca2baf10bad8433e92d7dde6629946f54043d63f (patch) | |
tree | 4218b63663cdd7b2b109945d3a4b08e9a4cb9244 | |
parent | 857ecb3df5850f50923ce7f7410f05f3fcc3e41f (diff) | |
download | guix-ca2baf10bad8433e92d7dde6629946f54043d63f.tar.gz |
openssh: Add another mirror.
* gnu/packages/ssh.scm (openssh): Add the mirror. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
-rw-r--r-- | gnu/packages/ssh.scm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm index 7d95ff0579..51e1990168 100644 --- a/gnu/packages/ssh.scm +++ b/gnu/packages/ssh.scm @@ -145,9 +145,11 @@ a server that supports the SSH-2 protocol.") (version "6.6p1") (source (origin (method url-fetch) - (uri (string-append - "ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-" - version ".tar.gz")) + (uri (let ((tail (string-append name "-" version ".tar.gz"))) + (list (string-append "ftp://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/" + tail) + (string-append "ftp://ftp2.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/" + tail)))) (sha256 (base32 "1fq3w86q05y5nn6z878wm312k0svaprw8k007188fd259dkg1ha8")))) (build-system gnu-build-system) |