me
/
guix
Archived
1
0
Fork 0

gnu: ncbi-vdb: Use modify-phases syntax.

* gnu/packages/bioinformatics.scm (ncbi-vdb)[arguments]: Use modify-phases
syntax.
master
Ricardo Wurmus 2017-03-16 10:20:56 +01:00
parent 5021f54787
commit 701111989e
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 51 additions and 52 deletions

View File

@ -4463,8 +4463,8 @@ simultaneously.")
`(#:parallel-build? #f ; not supported
#:tests? #f ; no "check" target
#:phases
(alist-replace
'configure
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
;; Override include path for libmagic
@ -4497,9 +4497,8 @@ simultaneously.")
(string-append "--with-ngs-java-prefix="
(assoc-ref inputs "java-ngs"))
(string-append "--with-hdf5-prefix="
(assoc-ref inputs "hdf5"))))))
(alist-cons-after
'install 'install-interfaces
(assoc-ref inputs "hdf5")))))))
(add-after 'install 'install-interfaces
(lambda* (#:key outputs #:allow-other-keys)
;; Install interface libraries. On i686 the interface libraries
;; are installed to "linux/gcc/i386", so we need to use the Linux
@ -4516,8 +4515,8 @@ simultaneously.")
;; Install interface headers
(copy-recursively "interfaces"
(string-append (assoc-ref outputs "out")
"/include")))
%standard-phases))))
"/include"))
#t)))))
(inputs
`(("libxml2" ,libxml2)
("ngs-sdk" ,ngs-sdk)