summaryrefslogtreecommitdiff
path: root/gnu/packages/java.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-06-29 22:37:01 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-06-29 22:41:28 +0300
commit87ce1fc59690eb925cb9c15652b6a080a35ef915 (patch)
tree8ac68648d890ffc26d95ed20397cab6c89b44241 /gnu/packages/java.scm
parent8b408789043edf787b3d6dc9fb37b5d86611eeb2 (diff)
gnu: java-jboss-javassist: Remove prebuilt jar in snippet.
* gnu/packages/java.scm (java-jboss-javassist)[source]: Add snippet to remove prebuilt jar. [arguments]: Remove custom 'remove-binary phase.
Diffstat (limited to 'gnu/packages/java.scm')
-rw-r--r--gnu/packages/java.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index 03cf740ff2..a7317af273 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -9172,7 +9172,11 @@ readability and make maintenance of tests easier.")
(file-name (git-file-name name version))
(sha256
(base32
- "0h3zlcyqiaq01fspm69h7vki67raw305w89p4ha8vlhpzw02qifm"))))
+ "0h3zlcyqiaq01fspm69h7vki67raw305w89p4ha8vlhpzw02qifm"))
+ (modules '((guix build utils)))
+ (snippet
+ '(begin
+ (delete-file "javassist.jar")))))
(build-system ant-build-system)
(arguments
`(#:jar-name "java-jboss-javassist.jar"
@@ -9184,10 +9188,6 @@ readability and make maintenance of tests easier.")
(add-after 'unpack 'make-files-writable
(lambda _
(for-each make-file-writable (find-files "."))
- #t))
- (add-before 'configure 'remove-binary
- (lambda _
- (delete-file "javassist.jar")
#t)))))
(native-inputs
`(("junit" ,java-junit)))