gnu: phast: Simplify by using G-expression.

* gnu/packages/bioinformatics.scm (phast)[arguments]: Use G-expression and
drop trailing #T from build phases.
This commit is contained in:
Ricardo Wurmus 2023-05-12 22:23:23 +02:00
parent fac8721bfd
commit 5d446e439d
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC

View File

@ -17902,11 +17902,11 @@ containing the reference genome as well.")
"10lpbllvny923jjbbyrpxahhd1m5h7sbj9gx7rd123rg10mlidki"))))
(build-system gnu-build-system)
(arguments
`(#:make-flags
,#~(list "CC=gcc"
(string-append "DESTDIR=" #$output))
(list
#:make-flags
#~(list "CC=gcc" (string-append "DESTDIR=" #$output))
#:phases
(modify-phases %standard-phases
#~(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
;; Fix syntax
@ -17915,7 +17915,7 @@ containing the reference genome as well.")
(substitute* "Makefile"
(("CLAPACKPATH=/usr/lib")
(string-append "CLAPACKPATH="
(assoc-ref inputs "clapack") "/lib")))
#$(this-package-input "clapack") "/lib")))
;; Renaming the libraries is not necessary with our version of
;; CLAPACK.
(substitute* "src/lib/Makefile"
@ -17928,8 +17928,7 @@ containing the reference genome as well.")
(("libf2c.a") "libf2c.so"))
(substitute* "src/Makefile"
(("/opt") "/share")
(("/usr/") "/"))
#t))
(("/usr/") "/"))))
(replace 'check
(lambda _
(setenv "PATH"