gnu: python-pysam: Use 'modify-phases'.

* gnu/packages/bioinformatics.scm (python-pysam)[arguments]: Use
'modify-phases'.
This commit is contained in:
Marius Bakke 2016-09-23 06:40:40 +01:00 committed by Ben Woodcroft
parent bdc7be59eb
commit 397d463a12
No known key found for this signature in database
GPG Key ID: E44DCCD146E0CCF4
1 changed files with 6 additions and 6 deletions

View File

@ -1359,12 +1359,12 @@ multiple sequence alignments.")
(arguments
`(#:tests? #f ; tests are excluded in the manifest
#:phases
(alist-cons-before
'build 'set-flags
(lambda _
(setenv "LDFLAGS" "-lncurses")
(setenv "CFLAGS" "-D_CURSES_LIB=1"))
%standard-phases)))
(modify-phases %standard-phases
(add-before 'build 'set-flags
(lambda _
(setenv "LDFLAGS" "-lncurses")
(setenv "CFLAGS" "-D_CURSES_LIB=1")
#t)))))
(inputs
`(("ncurses" ,ncurses)
("zlib" ,zlib)))