gnu: roary: Use INVOKE.

* gnu/packages/bioinformatics.scm (roary)[arguments]: Use INVOKE and return #T
unconditionally.
This commit is contained in:
Ricardo Wurmus 2018-11-08 09:58:05 +01:00
parent a9542937c8
commit ce49fdcce9
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -4762,10 +4762,11 @@ (define-public roary
(getenv "PATH")))
(setenv "PERL5LIB" (string-append (getcwd) "/lib" ":"
(getenv "PERL5LIB")))
(zero? (length (filter (lambda (file)
(display file)(display "\n")
(not (zero? (system* "perl" file))))
(find-files "t" ".*\\.t$"))))))
(for-each (lambda (file)
(display file)(display "\n")
(invoke "perl" file))
(find-files "t" ".*\\.t$"))
#t))
(replace 'install
;; There is no 'install' target in the Makefile.
(lambda* (#:key outputs #:allow-other-keys)