gnu: hdf-java: Use INVOKE.

* gnu/packages/maths.scm (hdf-java)[arguments]: Unconditionally return #T from
build phases.
This commit is contained in:
Ricardo Wurmus 2019-03-27 10:12:57 +01:00
parent dfe420ee46
commit 9286c0f7e8
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -937,7 +937,7 @@ (define-public hdf-java
#:phases
(modify-phases %standard-phases
(add-before 'configure 'chdir-to-source
(lambda _ (chdir ,(string-append "hdfjava-" version))))
(lambda _ (chdir ,(string-append "hdfjava-" version)) #t))
(add-before 'configure 'patch-build
(lambda* (#:key inputs outputs #:allow-other-keys)
(substitute* "configure"
@ -986,8 +986,8 @@ (define-public hdf-java
#t))
(add-before 'check 'build-examples
(lambda _
(zero? (apply system* `("javac"
,@(find-files "examples" ".*\\.java")))))))
(apply invoke `("javac"
,@(find-files "examples" ".*\\.java"))))))
#:parallel-build? #f