3
0
Fork 0
forked from mirrors/nixpkgs

liquibase: fix Main -> LiquibaseCommandLine

The main Java class for Liquibase has changed from `Main` to
`LiquibaseCommandLine` in recent Liquibase versions.

Closes https://github.com/NixOS/nixpkgs/issues/166208
This commit is contained in:
Julien Debon 2022-04-04 17:44:55 +02:00
parent 156b3dd93a
commit c6e3ceddd0

View file

@ -51,7 +51,7 @@ stdenv.mkDerivation rec {
${lib.concatStringsSep "\n" (map (p: addJars "${p}/share/java") extraJars)}
${lib.getBin jre}/bin/java -cp "\$CP" \$JAVA_OPTS \
liquibase.integration.commandline.Main \''${1+"\$@"}
liquibase.integration.commandline.LiquibaseCommandLine \''${1+"\$@"}
EOF
chmod +x $out/bin/liquibase
'';