libreoffice: add `java.logging` to minimal JRE

This is e.g. required to properly use the Langtool-plugin[1] which
otherwise fails like this:

    java.lang.NoClassDefFoundError: java/util/logging/Logger

Fixes #160315

[1] https://extensions.libreoffice.org/en/extensions/show/languagetool
main
Maximilian Bosch 2 years ago
parent 7c6759c27e
commit b308b06c22
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
  1. 2
      pkgs/applications/office/libreoffice/default.nix

@ -25,7 +25,7 @@ assert builtins.elem variant [ "fresh" "still" ];
let
jre' = jre_minimal.override {
modules = [ "java.base" "java.desktop" ];
modules = [ "java.base" "java.desktop" "java.logging" ];
};
importVariant = f: import (./. + "/src-${variant}/${f}");

Loading…
Cancel
Save