~ruther/guix-local

053cfdb3d6a692e32e504f6993ef3e54bc68e754 — Ludovic Courtès 10 years ago d882c235
import: cran: Avoid HTTP redirect.

* guix/import/cran.scm (cran-fetch): Add trailing slash in URL to avoid
  HTTP redirect.
1 files changed, 1 insertions(+), 1 deletions(-)

M guix/import/cran.scm
M guix/import/cran.scm => guix/import/cran.scm +1 -1
@@ 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