me
/
guix
Archived
1
0
Fork 0

gnu: macs: Update check phase.

* gnu/packages/bioinformatics.scm (macs)[arguments]: Don't delete 'check
phase before using custom 'check phase.
master
Efraim Flashner 2020-11-09 10:36:14 +02:00
parent fa82adb5e0
commit 4dcd19d3ff
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 5 deletions

View File

@ -4480,11 +4480,12 @@ experiments.")
(arguments
`(#:phases
(modify-phases %standard-phases
(delete 'check)
(add-after 'install 'check
(lambda* (#:key inputs outputs #:allow-other-keys)
(replace 'check
(lambda* (#:key tests? inputs outputs #:allow-other-keys)
(when tests?
(add-installed-pythonpath inputs outputs)
(invoke "pytest" "-v"))))))
(invoke "pytest" "-v"))
#t)))))
(inputs
`(("python-numpy" ,python-numpy)))
(native-inputs