diff options
-rw-r--r-- | gnu/packages/bioconductor.scm | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index 78ae097c77..87e43992b1 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -7128,6 +7128,20 @@ matrix to solve the memory problem.") (base32 "1sg0mjada72a13xh3k6xsiaff7xj4mp76r6i8iab8nfkvng07p4i")))) (build-system r-build-system) + (arguments + (list + #:phases + '(modify-phases %standard-phases + (add-after 'unpack 'set-HOME + (lambda _ + (setenv "HOME" "/tmp"))) + (add-after 'unpack 'avoid-internet-access + (lambda _ + (setenv "GUIX_BUILD" "yes") + (substitute* "R/zzz.R" + (("ExperimentHub::createHubAccessors.*" m) + (string-append + "if (Sys.getenv(\"GUIX_BUILD\") == \"\") {" m "}")))))))) (propagated-inputs (list r-experimenthub)) (native-inputs (list r-knitr)) |