gnu: icedtea-7: Disable os version check.

* gnu/packages/java.scm (icedtea-7)[arguments]:
Add phase 'disable-os-version-check.
This commit is contained in:
Gábor Boskovits 2019-05-12 07:51:12 +02:00
parent 0bc11cc745
commit 59199e1adb
No known key found for this signature in database
GPG Key ID: 2506A96CCF630B21
1 changed files with 5 additions and 0 deletions

View File

@ -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