Commit 9ff655f4 authored by Linus Heckemann's avatar Linus Heckemann
Browse files

Revert "pdftk: use minimal jre"

This reverts commit cbef4f28.

Using the minimal jre results in classes needed for some operations no
longer being available, e.g. when attempting to fill a form:

Error: could not load a required library for this operation.
java.lang.NoClassDefFoundError: java/awt/Color
Make sure that bcprov and commons-lang3 are installed and included in the
classpath. See also https://gitlab.com/pdftk-java/pdftk/issues/2.
   No output created.
parent 2631b0b7
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -3,20 +3,12 @@
  stdenv,
  fetchFromGitLab,
  gradle_8,
  jre_headless,
  jre_minimal,
  jre,
  runtimeShell,
}:
let
  # "Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0."
  gradle = gradle_8;

  jre = jre_minimal.override {
    modules = [
      "java.base"
    ];
    jdk = jre_headless;
  };
in
stdenv.mkDerivation rec {
  pname = "pdftk";