diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-06-29 22:37:01 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2020-06-29 22:41:28 +0300 |
commit | 87ce1fc59690eb925cb9c15652b6a080a35ef915 (patch) | |
tree | 8ac68648d890ffc26d95ed20397cab6c89b44241 | |
parent | 8b408789043edf787b3d6dc9fb37b5d86611eeb2 (diff) | |
download | guix-87ce1fc59690eb925cb9c15652b6a080a35ef915.tar.gz |
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.
-rw-r--r-- | gnu/packages/java.scm | 10 |
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))) |