gnu: rcas-web: Fix build with RCAS > 1.3.x.

* gnu/packages/bioinformatics.scm (rcas-web)[arguments]: Add ‘find-RCAS’ phase.
master
Tobias Geerinckx-Rice 2019-10-03 15:09:38 +02:00
parent 3757f5cbc1
commit 5767547e73
No known key found for this signature in database
GPG Key ID: D889B0F018C5493C
1 changed files with 7 additions and 0 deletions

View File

@ -8418,6 +8418,13 @@ library implementing most of the pipeline's features.")
(arguments
`(#:phases
(modify-phases %standard-phases
(add-before 'configure 'find-RCAS
;; The configure script can't find non-1.3.x versions of RCAS because
;; its R expression 1.10.1 >= 1.3.4 evaluates to false.
(lambda _
(substitute* "configure"
(("1\\.3\\.4") "0.0.0"))
#t))
(add-after 'install 'wrap-executable
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))