From 0bc11cc74529f5b768544fdfd172cb0c9d16d255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Boskovits?= Date: Sat, 11 May 2019 22:03:31 +0200 Subject: [PATCH] gnu: icedtea-6: Disable os version check. * gnu/packages/java.scm (icedtea-6)[arguments]: Add phase 'disable-os-version-check. --- gnu/packages/java.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 9664d749fb..1a84cf2378 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -7,7 +7,7 @@ ;;; Copyright © 2017 Thomas Danckaert ;;; Copyright © 2016, 2017, 2018 Alex Vong ;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice -;;; Copyright © 2018 Gábor Boskovits +;;; Copyright © 2018, 2019 Gábor Boskovits ;;; Copyright © 2018 Chris Marusich ;;; Copyright © 2018 Efraim Flashner ;;; @@ -879,6 +879,11 @@ machine."))) (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)) (replace 'install (lambda* (#:key outputs #:allow-other-keys) (let ((doc (string-append (assoc-ref outputs "doc")