virtualbox: unbreak enableWebService

enableWebService depends on wsimport, which is only available in JDK
8. Stick to that version for now and hope that upstream fixes this.
This commit is contained in:
Julian Stecklina 2024-05-03 17:11:27 +02:00
parent b211b392b8
commit 4832d27a28
2 changed files with 6 additions and 1 deletions

@ -24,6 +24,9 @@
# See https://github.com/cyberus-technology/virtualbox-kvm/issues/12
assert enableKvm -> !enableHardening;
# The web services use Java infrastructure.
assert enableWebService -> javaBindings;
with lib;
let

@ -35329,7 +35329,9 @@ with pkgs;
virtualbox = libsForQt5.callPackage ../applications/virtualization/virtualbox {
stdenv = stdenv_32bit;
inherit (gnome2) libIDL;
jdk = openjdk17;
# VirtualBox uses wsimport, which was removed after JDK 8.
jdk = jdk8;
};
virtualboxKvm = lowPrio (virtualbox.override {