Skip to content

Commit

Permalink
add openjdk back into docs
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-noland committed Nov 5, 2024
1 parent a499e90 commit df73eaf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
11 changes: 11 additions & 0 deletions nix/plantuml-wrapper/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
stdenv,
}: stdenv.mkDerivation {
pname = "dataplane-plantuml-wrapper";
version = "0.0.1";
src = ./src;
installPhase = ''
cp -a $src $out
'';

}
3 changes: 3 additions & 0 deletions nix/plantuml-wrapper/src/bin/plantuml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

exec /lib/openjdk/bin/java -jar /lib/plantuml.jar "$@"
1 change: 0 additions & 1 deletion nix/shell-fixup/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
version = "0.0.1";
src = ./src;
installPhase = ''
chmod +x $src/bin/plantuml
cp -a $src $out
'';

Expand Down

0 comments on commit df73eaf

Please sign in to comment.