summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorGábor Boskovits <boskovits@gmail.com>2019-05-11 22:03:31 +0200
committerGábor Boskovits <boskovits@gmail.com>2019-05-12 09:19:03 +0200
commit0bc11cc74529f5b768544fdfd172cb0c9d16d255 (patch)
tree69bf6a6f73d73979745f12bfc3c1291c5ff0a837 /gnu
parent152030ffdf548527d32458c5f3fbc98700aa7e69 (diff)
downloadguix-0bc11cc74529f5b768544fdfd172cb0c9d16d255.tar.gz
gnu: icedtea-6: Disable os version check.
* gnu/packages/java.scm (icedtea-6)[arguments]:
Add phase 'disable-os-version-check.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/java.scm7
1 files changed, 6 insertions, 1 deletions
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 <post@thomasdanckaert.be>
 ;;; Copyright © 2016, 2017, 2018 Alex Vong <alexvong1995@gmail.com>
 ;;; Copyright © 2017, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2018 Gábor Boskovits <boskovits@gmail.com>
+;;; Copyright © 2018, 2019 Gábor Boskovits <boskovits@gmail.com>
 ;;; Copyright © 2018 Chris Marusich <cmmarusich@gmail.com>
 ;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
 ;;;
@@ -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")