Merge pull request #242696 from DevInsideYou/liquibase-fixes

liquibase: include all jars from internal/lib instead of just a few

authored by Jakub Kozłowski and committed by GitHub fdc66db3 3da3074f

+6 -3
+6 -3
pkgs/development/tools/database/liquibase/default.nix
··· 48 in 49 '' 50 mkdir -p $out 51 - mv ./{lib,licenses,internal/lib/liquibase-core.jar,internal/lib/postgresql.jar,internal/lib/picocli.jar} $out/ 52 53 mkdir -p $out/share/doc/${pname}-${version} 54 mv LICENSE.txt \ ··· 63 #!/usr/bin/env bash 64 # taken from the executable script in the source 65 CP="" 66 ${addJars "$out/lib"} 67 ${addJars "$out"} 68 ${lib.concatStringsSep "\n" (map (p: addJars "${p}/share/java") extraJars)} 69 - 70 ${lib.getBin jre}/bin/java -cp "\$CP" \$JAVA_OPTS \ 71 - liquibase.integration.commandline.LiquibaseCommandLine \''${1+"\$@"} 72 EOF 73 chmod +x $out/bin/liquibase 74 '';
··· 48 in 49 '' 50 mkdir -p $out 51 + mv ./{lib,licenses} $out/ 52 + 53 + mkdir -p $out/internal/lib 54 + mv ./internal/lib/*.jar $out/internal/lib/ 55 56 mkdir -p $out/share/doc/${pname}-${version} 57 mv LICENSE.txt \ ··· 66 #!/usr/bin/env bash 67 # taken from the executable script in the source 68 CP="" 69 + ${addJars "$out/internal/lib"} 70 ${addJars "$out/lib"} 71 ${addJars "$out"} 72 ${lib.concatStringsSep "\n" (map (p: addJars "${p}/share/java") extraJars)} 73 ${lib.getBin jre}/bin/java -cp "\$CP" \$JAVA_OPTS \ 74 + liquibase.integration.commandline.LiquibaseCommandLine \''${1+"\$@"} 75 EOF 76 chmod +x $out/bin/liquibase 77 '';