From 59199e1adbd5d5f3116a2ca4b580222908f1853e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Boskovits?= Date: Sun, 12 May 2019 07:51:12 +0200 Subject: [PATCH] gnu: icedtea-7: Disable os version check. * gnu/packages/java.scm (icedtea-7)[arguments]: Add phase 'disable-os-version-check. --- gnu/packages/java.scm | 5 +++++ 1 file changed, 5 insertions(+) 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