From 8c35ca59ab1977eb56d4a157fda774645f7702fd Mon Sep 17 00:00:00 2001
From: Julien Lepiller <julien@lepiller.eu>
Date: Sun, 12 Jun 2022 14:39:42 +0200
Subject: [PATCH] gnu: icedtea-7: Add native-search-paths.
This is inherited by other icedtea and openjdk versions.
* gnu/packages/java.scm (icedtea-7): Add CLASSPATH support.
---
gnu/packages/java.scm | 6 ++++++
1 file changed, 6 insertions(+)
@@ -798,6 +798,12 @@ (define-public icedtea-7
(outputs '("out" ; Java Runtime Environment
"jdk" ; Java Development Kit
"doc")) ; all documentation
+ (native-search-paths
+ (list (search-path-specification
+ (variable "CLASSPATH")
+ (files '("lib/m2" "share/java"))
+ (file-type 'regular)
+ (file-pattern ".*\\.jar$"))))
(arguments
`(;; There are many test failures. Some are known to
;; fail upstream, others relate to not having an X
--
2.35.1