gnu: macs: Update check phase.
* gnu/packages/bioinformatics.scm (macs)[arguments]: Don't delete 'check phase before using custom 'check phase.
This commit is contained in:
		
							parent
							
								
									fa82adb5e0
								
							
						
					
					
						commit
						4dcd19d3ff
					
				
					 1 changed files with 6 additions and 5 deletions
				
			
		| 
						 | 
					@ -4480,11 +4480,12 @@ experiments.")
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     `(#:phases
 | 
					     `(#:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
         (delete 'check)
 | 
					         (replace 'check
 | 
				
			||||||
         (add-after 'install 'check
 | 
					           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
 | 
				
			||||||
           (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
					             (when tests?
 | 
				
			||||||
               (add-installed-pythonpath inputs outputs)
 | 
					               (add-installed-pythonpath inputs outputs)
 | 
				
			||||||
             (invoke "pytest" "-v"))))))
 | 
					               (invoke "pytest" "-v"))
 | 
				
			||||||
 | 
					             #t)))))
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("python-numpy" ,python-numpy)))
 | 
					     `(("python-numpy" ,python-numpy)))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue