summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-02-27 20:40:02 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-02-28 23:05:05 +0100
commit8333c206a90977c5080313b1cb85b0513bd8e12d (patch)
treea96f7d0df7bc4eaa5d2e4225db66043d59aec201
parente15864281615d3bc72d772b9bea704accd9262c3 (diff)
downloadpatches-8333c206a90977c5080313b1cb85b0513bd8e12d.tar
patches-8333c206a90977c5080313b1cb85b0513bd8e12d.tar.gz
gnu: java-jnacl: Simplify build phase.
* gnu/packages/java.scm (java-jnacl)[arguments]: Simplify "fix-tests" phase.
-rw-r--r--gnu/packages/java.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index e7715b4b3c..a197da819c 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -7531,9 +7531,8 @@ to use.")
(modify-phases %standard-phases
(add-before 'build 'fix-tests
(lambda _
- (substitute* "src/test/java/com/neilalexander/jnacl/NaClTest.java"
- (("assertions.Assertions") "assertions.api.Assertions"))
- (substitute* "src/test/java/com/neilalexander/jnacl/NaclSecretBoxTest.java"
+ (substitute* '("src/test/java/com/neilalexander/jnacl/NaClTest.java"
+ "src/test/java/com/neilalexander/jnacl/NaclSecretBoxTest.java")
(("assertions.Assertions") "assertions.api.Assertions"))
#t))
(replace 'check