From 4dcd19d3ff143e7ef5ed1584a9ace65c348d1dfa Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 9 Nov 2020 10:36:14 +0200 Subject: gnu: macs: Update check phase. * gnu/packages/bioinformatics.scm (macs)[arguments]: Don't delete 'check phase before using custom 'check phase. --- gnu/packages/bioinformatics.scm | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index a456b2b12c..010742b37b 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -4480,11 +4480,12 @@ experiments.") (arguments `(#:phases (modify-phases %standard-phases - (delete 'check) - (add-after 'install 'check - (lambda* (#:key inputs outputs #:allow-other-keys) - (add-installed-pythonpath inputs outputs) - (invoke "pytest" "-v")))))) + (replace 'check + (lambda* (#:key tests? inputs outputs #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "pytest" "-v")) + #t))))) (inputs `(("python-numpy" ,python-numpy))) (native-inputs -- cgit v1.2.3