summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorBjörn Höfling <bjoern.hoefling@bjoernhoefling.de>2020-03-05 22:07:49 +0100
committerBjörn Höfling <bjoern.hoefling@bjoernhoefling.de>2020-03-05 22:10:17 +0100
commit2c2b1ef85448681d858f447ac6fed6679a95209f (patch)
tree248d587d732a8a2c6acd3950fa07649d62298a55 /gnu
parenta098b3498052e046c8338e0630e0166bcb12355d (diff)
downloadguix-2c2b1ef85448681d858f447ac6fed6679a95209f.tar.gz
gnu: java-openjfx-build: Add snippet.
* gnu/packages/java.scm (java-openjfx-build)[source]: Add snippet to remove
bundled gradle.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
index a0b5776807..5229eeda06 100644
--- a/gnu/packages/java.scm
+++ b/gnu/packages/java.scm
@@ -2353,6 +2353,12 @@ new Date();"))
                                   (string-join (string-split version #\.) "u")
                                   "-ga"))))
               (file-name (string-append name "-" version "-checkout"))
+              (modules '((guix build utils)))
+              (snippet
+               '(begin
+                  ;; Delete included gradle jar
+                  (delete-file-recursively "gradle/wrapper")
+                  #t))
               (sha256
                (base32
                 "0yg38mwpivswccv9n96k06x3iv82i4px1a9xg9l8dswzwmfj259f"))))