summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-03-27 10:12:57 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-03-27 10:12:57 +0100
commit9286c0f7e83f9145ff98146a54edc4aaa803fb4b (patch)
treed3820459d5127c931f8b0ec6374b98b46e26f3ad
parentdfe420ee463aa7e87a979bb494917d562f155257 (diff)
downloadguix-9286c0f7e83f9145ff98146a54edc4aaa803fb4b.tar.gz
gnu: hdf-java: Use INVOKE.
* gnu/packages/maths.scm (hdf-java)[arguments]: Unconditionally return #T from
build phases.
-rw-r--r--gnu/packages/maths.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ddb4672ff9..6dbb702929 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -937,7 +937,7 @@ extremely large and complex data collections.")
       #: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 @@ extremely large and complex data collections.")
             #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