import/cran: Fix calls to CRAN->GUIX-PACKAGE.

* guix/import/cran.scm (cran->guix-package, latest-bioconductor-release):
Invoke CRAN->GUIX-PACKAGE with #:REPO keyword argument.
This commit is contained in:
Ricardo Wurmus 2020-12-04 12:27:29 +01:00
parent a6805ad0b8
commit a689c85af4
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 4 additions and 4 deletions

View File

@ -578,13 +578,13 @@ s-expression corresponding to that package, or #f on failure."
(case repo
((git)
;; Retry import from Bioconductor
(cran->guix-package package-name 'bioconductor))
(cran->guix-package package-name #:repo 'bioconductor))
((hg)
;; Retry import from Bioconductor
(cran->guix-package package-name 'bioconductor))
(cran->guix-package package-name #:repo 'bioconductor))
((bioconductor)
;; Retry import from CRAN
(cran->guix-package package-name 'cran))
(cran->guix-package package-name #:repo 'cran))
(else (values #f '()))))))))
(define* (cran-recursive-import package-name #:key (repo 'cran))
@ -655,7 +655,7 @@ s-expression corresponding to that package, or #f on failure."
(input-changes
(changed-inputs
pkg
(cran->guix-package upstream-name 'bioconductor))))))
(cran->guix-package upstream-name #:repo 'bioconductor))))))
(define (cran-package? package)
"Return true if PACKAGE is an R package from CRAN."