diff options
-rw-r--r-- | gnu/packages/java.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 1a84cf2378..84f8246483 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -1235,6 +1235,11 @@ bootstrapping purposes.") (string-append (assoc-ref inputs "freetype") "/lib")) #t)) + (add-before 'build 'disable-os-version-check + ;; allow build on linux major version change + (lambda _ + (setenv "DISABLE_HOTSPOT_OS_VERSION_CHECK" "ok") + #t)) (add-before 'check 'fix-test-framework (lambda _ ;; Fix PATH in test environment |