File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,6 +59,10 @@ pkgs.stdenvNoCC.mkDerivation rec {
5959 outputHash = "sha256-Gimt6L54yyaX3BtdhQlVu1j4c4y++Mip0GzMl/IfzMc=" ;
6060 } ;
6161
62+ jre-minimal = pkgs . callPackage ( import "${ sources . nixpkgs } /pkgs/development/compilers/openjdk/jre.nix" ) {
63+ modules = [ "java.base" "java.desktop" ] ;
64+ } ;
65+
6266 buildPhase = ''
6367 runHook preBuild
6468
@@ -96,7 +100,7 @@ pkgs.stdenvNoCC.mkDerivation rec {
96100
97101 local jar="$out/share/java/DiffDetective/DiffDetective.jar"
98102 install -Dm644 "target/diffdetective-${ version } -jar-with-dependencies.jar" "$jar"
99- makeWrapper "${ pkgs . jdk } /bin/java" "$out/bin/DiffDetective" --add-flags "-cp \"$jar\"" \
103+ makeWrapper "${ jre-minimal } /bin/java" "$out/bin/DiffDetective" --add-flags "-cp \"$jar\"" \
100104 --prefix PATH : "${ pkgs . graphviz } /bin"
101105
102106 ${
You can’t perform that action at this time.
0 commit comments