aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2017-04-05 18:42:05 +0200
committerRicardo Wurmus <rekado@elephly.net>2017-05-16 21:40:03 +0200
commitc9ffa91fd346eb832c05afea5b523c8da5b47500 (patch)
tree263449e6e85899b84789071e146832349b52bf09
parent7c9fcb0825d95d9790da3e77d247353ced9a8948 (diff)
downloadguix-c9ffa91fd346eb832c05afea5b523c8da5b47500.tar
guix-c9ffa91fd346eb832c05afea5b523c8da5b47500.tar.gz
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.
-rw-r--r--guix/import/cran.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/import/cran.scm b/guix/import/cran.scm
index 221b5420e2..1adffc4fbb 100644
--- a/guix/import/cran.scm
+++ b/guix/import/cran.scm
@@ -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)