diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-10-21 14:40:39 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-10-21 14:44:41 +0200 |
commit | 053cfdb3d6a692e32e504f6993ef3e54bc68e754 (patch) | |
tree | 39562559833c0f00686c5131f8b14439ac12e16e /guix/import | |
parent | d882c235d9878b8f61376bd4b4f21be885489818 (diff) | |
download | gnu-guix-053cfdb3d6a692e32e504f6993ef3e54bc68e754.tar gnu-guix-053cfdb3d6a692e32e504f6993ef3e54bc68e754.tar.gz |
import: cran: Avoid HTTP redirect.
* guix/import/cran.scm (cran-fetch): Add trailing slash in URL to avoid
HTTP redirect.
Diffstat (limited to 'guix/import')
-rw-r--r-- | guix/import/cran.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/import/cran.scm b/guix/import/cran.scm index 218d55787a..1491ca14e3 100644 --- a/guix/import/cran.scm +++ b/guix/import/cran.scm @@ -93,7 +93,7 @@ first cell of a table row is considered a label cell." "Return an sxml representation of the CRAN page for the R package NAME, or #f on failure. NAME is case-sensitive." ;; This API always returns the latest release of the module. - (let ((cran-url (string-append %cran-url name))) + (let ((cran-url (string-append %cran-url name "/"))) (false-if-exception (xml->sxml (http-fetch cran-url) #:trim-whitespace? #t |