From 0aaadc958165761b467be003b4ab4de59028414a Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 24 Sep 2023 11:00:08 +0300 Subject: rtg-tools: Use a smaller java implementation --- gn/packages/java.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3