Skip to content

Commit e6d90a9

Browse files
committed
Provide all java modules
Some modules are loaded later, so I missed them while building the minimal JRE. To be sure, we can just use the full JDK (`jre` is an alias for the JDK) for now.
1 parent 0fe0971 commit e6d90a9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ in
6666
postInstall = ''
6767
local jar="$out/share/java/DiffDetective-Demo.jar"
6868
install -Dm644 "target/diffdetectivedemo-${version}-jar-with-dependencies.jar" "$jar"
69-
makeWrapper "${DiffDetective.jre-minimal}/bin/java" "$out/bin/DiffDetective-Demo" \
69+
makeWrapper "${pkgs.jre}/bin/java" "$out/bin/DiffDetective-Demo" \
7070
--add-flags "-cp '$jar' org.variantsync.diffdetectivedemo.Main" \
7171
--prefix PATH : "${pkgs.graphviz}/bin"
7272
'';

0 commit comments

Comments
 (0)