aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Boskovits <boskovits@gmail.com>2019-05-12 07:51:12 +0200
committerGábor Boskovits <boskovits@gmail.com>2019-05-12 09:19:11 +0200
commit59199e1adbd5d5f3116a2ca4b580222908f1853e (patch)
tree0a50e08a8f1d5b7cd4b93fd6ec18efc4201b8056
parent0bc11cc74529f5b768544fdfd172cb0c9d16d255 (diff)
downloadguix-59199e1adbd5d5f3116a2ca4b580222908f1853e.tar
guix-59199e1adbd5d5f3116a2ca4b580222908f1853e.tar.gz
gnu: icedtea-7: Disable os version check.
* gnu/packages/java.scm (icedtea-7)[arguments]: Add phase 'disable-os-version-check.
-rw-r--r--gnu/packages/java.scm5
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