~ruther/guix-local

c9ffa91fd346eb832c05afea5b523c8da5b47500 — Ricardo Wurmus 9 years ago 7c9fcb0
import cran: Exclude experiment packages in predicate "bioconductor-package?".

* guix/import/cran.scm (bioconductor-package?): Exclude experiment packages,
because they cannot be updated with the default bioconductor updater.
1 files changed, 3 insertions(+), 1 deletions(-)

M guix/import/cran.scm
M guix/import/cran.scm => guix/import/cran.scm +3 -1
@@ 433,7 433,9 @@ dependencies."
                          ;; the Github mirror, so we have to exclude them
                          ;; from the set of bioconductor packages that can be
                          ;; updated automatically.
                          (not (string-contains uri "/data/annotation/"))))))
                          (not (string-contains uri "/data/annotation/"))
                          ;; Experiment packages are in a separate repository.
                          (not (string-contains uri "/data/experiment/"))))))
    (and (string-prefix? "r-" (package-name package))
         (match (and=> (package-source package) origin-uri)
           ((? string? uri)