guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/02: gnu: hdf-java: Use INVOKE.


From: guix-commits
Subject: 01/02: gnu: hdf-java: Use INVOKE.
Date: Wed, 27 Mar 2019 05:14:57 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 9286c0f7e83f9145ff98146a54edc4aaa803fb4b
Author: Ricardo Wurmus <address@hidden>
Date:   Wed Mar 27 10:12:57 2019 +0100

    gnu: hdf-java: Use INVOKE.
    
    * gnu/packages/maths.scm (hdf-java)[arguments]: Unconditionally return #T 
from
    build phases.
---
 gnu/packages/maths.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index ddb4672..6dbb702 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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]