gnu: star: Use "modify-phases" syntax.
* gnu/packages/bioinformatics.scm (star)[arguments]: Use "modify-phases" syntax.
This commit is contained in:
parent
ebf89f134c
commit
c0266e8d03
@ -3037,15 +3037,15 @@ of these reads to align data quickly through a hash-based indexing scheme.")
|
||||
'(#:tests? #f ;no check target
|
||||
#:make-flags '("STAR")
|
||||
#:phases
|
||||
(alist-cons-after
|
||||
'unpack 'enter-source-dir (lambda _ (chdir "source"))
|
||||
(alist-replace
|
||||
'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
|
||||
(install-file "STAR" bin)))
|
||||
(alist-delete
|
||||
'configure %standard-phases)))))
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'unpack 'enter-source-dir
|
||||
(lambda _ (chdir "source") #t))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let ((bin (string-append (assoc-ref outputs "out") "/bin/")))
|
||||
(install-file "STAR" bin))
|
||||
#t))
|
||||
(delete 'configure))))
|
||||
(native-inputs
|
||||
`(("vim" ,vim))) ; for xxd
|
||||
(inputs
|
||||
|
Loading…
Reference in New Issue
Block a user