summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-02-27 20:45:53 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-02-28 23:05:05 +0100
commit080d0b605aa7cb0dc433d98b24a0bfeea63a2798 (patch)
tree8da0919e438ba8ce71ba9842bfa387bc1f7ef4c3
parent8c7d32e07c39df8a0d95c142eb46ecf0f8b65e57 (diff)
downloadguix-080d0b605aa7cb0dc433d98b24a0bfeea63a2798.tar.gz
gnu: java-commons-jexl-2: Use invoke.
* gnu/packages/java.scm (java-commons-jexl-2)[arguments]: Use invoke.
-rw-r--r--gnu/packages/java.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 6350b57a80..830ecaf2ff 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -7654,8 +7654,9 @@ configuration and string construction.")
          (add-before 'build 'run-javacc
            (lambda _
              (with-directory-excursion "src/main/java/org/apache/commons/jexl2/parser/"
-               (and (zero? (system* "java" "jjtree" "Parser.jjt"))
-                    (zero? (system* "java" "javacc" "Parser.jj")))))))))
+               (invoke "java" "jjtree" "Parser.jjt")
+               (invoke "java" "javacc" "Parser.jj"))
+             #t)))))
     (inputs
      `(("java-commons-logging-minimal" ,java-commons-logging-minimal)))
     (native-inputs