diff options
author | Efraim Flashner | 2023-09-24 11:00:08 +0300 |
---|---|---|
committer | Efraim Flashner | 2023-09-24 11:00:08 +0300 |
commit | 0aaadc958165761b467be003b4ab4de59028414a (patch) | |
tree | 38dff57ade90b989e9b2e6f437ca2e9d73ea39ab | |
parent | b50a05b1b907d8eb0728e7b21ddff3b645aaf53e (diff) | |
download | guix-bioinformatics-0aaadc958165761b467be003b4ab4de59028414a.tar.gz |
rtg-tools: Use a smaller java implementation
-rw-r--r-- | gn/packages/java.scm | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gn/packages/java.scm b/gn/packages/java.scm index c8e1e9b..f39c5c7 100644 --- a/gn/packages/java.scm +++ b/gn/packages/java.scm @@ -32,12 +32,20 @@ #:use-module (gnu packages bioinformatics) #:use-module (gnu packages certs) #:use-module (gnu packages compression) + #:use-module (gnu packages cups) #:use-module (gnu packages gcc) #:use-module (gnu packages java) #:use-module (gnu packages java-compression) #:use-module (gnu packages perl) #:use-module (srfi srfi-1)) +;; This is an attempt to make a smaller version of openjdk +(define openjdk11-minimal + (package/inherit openjdk11 + (inputs + (modify-inputs (package-inputs openjdk11) + (replace "cups" cups-minimal))))) + ;; ---------------------------------------------------------------------------- ;; WORKING PACKAGES ;; ---------------------------------------------------------------------------- @@ -316,7 +324,8 @@ piece of information.") (base32 "13fjhhcjgnynxscaymkn3rpdciplbg2m2qmihc7fxsylgn4m6gxk")))) (build-system ant-build-system) (arguments - `(#:build-target "zip-nojre" + `(#:jdk ,openjdk11-minimal + #:build-target "zip-nojre" #:test-target "runalltests" #:phases (modify-phases %standard-phases |