gnu: rcas-web: Fix build with RCAS > 1.3.x.
* gnu/packages/bioinformatics.scm (rcas-web)[arguments]: Add ‘find-RCAS’ phase.
This commit is contained in:
parent
3757f5cbc1
commit
5767547e73
|
@ -8418,6 +8418,13 @@ library implementing most of the pipeline's features.")
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-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
|
(add-after 'install 'wrap-executable
|
||||||
(lambda* (#:key inputs outputs #:allow-other-keys)
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
|
Loading…
Reference in New Issue