Skip to content

Commit

Permalink
add java opts option
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed authored and jlesquembre committed Jul 7, 2023
1 parent b7e3624 commit a05c2d5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/mkCljBin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,13 @@ let
asCljVector = list: lib.concatMapStringsSep " " lib.strings.escapeNixString list;

javaMain = builtins.replaceStrings [ "-" ] [ "_" ] main-ns;

javaOpts = lib.concatStringsSep " " java-opts;

template =
''
#!${runtimeShell}
exec "${jdkRunner}/bin/java" \
exec "${jdkRunner}/bin/java" ${javaOpts}\
-jar "@jar@" "$@"
'';
in
Expand Down

0 comments on commit a05c2d5

Please sign in to comment.