diff options
author | Mark H Weaver <mhw@netris.org> | 2016-02-02 21:15:19 -0500 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2016-02-02 21:16:44 -0500 |
commit | 80cc3a0a4a4e3b7deca4d1e3e4533eb400e3fde9 (patch) | |
tree | bcfc863c221889a459ef61f8bb397a607c62b451 /gnu | |
parent | 4c28ca1df4dfe61ce6759baa7842099d8bee6b2f (diff) | |
download | guix-80cc3a0a4a4e3b7deca4d1e3e4533eb400e3fde9.tar.gz |
gnu: openssl: When computing URI, use 'string-trim-right' not 'string-take'.
* gnu/packages/tls.scm (openssl)[source]: When computing URI, use 'string-trim-right' instead of 'string-take'.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/tls.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm index 821156c9d2..046fbb6ca8 100644 --- a/gnu/packages/tls.scm +++ b/gnu/packages/tls.scm @@ -1,6 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2012, 2013, 2014, 2015 Ludovic Courtès <ludo@gnu.org> -;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org> +;;; Copyright © 2014, 2015, 2016 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net> ;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2015 David Thompson <davet@gnu.org> @@ -186,8 +186,8 @@ required structures.") (uri (list (string-append "ftp://ftp.openssl.org/source/" name "-" version ".tar.gz") (string-append "ftp://ftp.openssl.org/source/old/" - (string-take version 5) "/" - name "-" version ".tar.gz"))) + (string-trim-right version char-set:letter) + "/" name "-" version ".tar.gz"))) (sha256 (base32 "1zqb1rff1wikc62a7vj5qxd1k191m8qif5d05mwdxz2wnzywlg72")) |