diff options
author | Matt McHenry <github@matt.mchenryfamily.org> | 2020-01-02 13:28:13 -0500 |
---|---|---|
committer | Matt McHenry <github@matt.mchenryfamily.org> | 2020-01-02 13:32:56 -0500 |
commit | 2867d1963aac8a5f587930644070b7d07e526db3 (patch) | |
tree | 2b6b9d270d5572f8f07e40d4034a4f34864a207f /pkgs/development/tools | |
parent | b0bbacb52134a7e731e549f4c0a7a2a39ca6b481 (diff) | |
download | nixpkgs-2867d1963aac8a5f587930644070b7d07e526db3.tar nixpkgs-2867d1963aac8a5f587930644070b7d07e526db3.tar.gz nixpkgs-2867d1963aac8a5f587930644070b7d07e526db3.tar.bz2 nixpkgs-2867d1963aac8a5f587930644070b7d07e526db3.tar.lz nixpkgs-2867d1963aac8a5f587930644070b7d07e526db3.tar.xz nixpkgs-2867d1963aac8a5f587930644070b7d07e526db3.tar.zst nixpkgs-2867d1963aac8a5f587930644070b7d07e526db3.zip |
flyway: fix jarDirs option
this is not a system property, but rather an argument to org.flaywaydb.commandline.Main.main(). therefore, it must come after, rather than before, the name of the main class. (otherwise it's interpreted as an argument to the VM itself.) flyway also expects the option and value to be separated by '=', not ' '. follows on to #76094
Diffstat (limited to 'pkgs/development/tools')
-rw-r--r-- | pkgs/development/tools/flyway/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/tools/flyway/default.nix b/pkgs/development/tools/flyway/default.nix index 047bbd171f3..2c86cffeaab 100644 --- a/pkgs/development/tools/flyway/default.nix +++ b/pkgs/development/tools/flyway/default.nix @@ -19,8 +19,8 @@ makeWrapper "${jre_headless}/bin/java" $out/bin/flyway \ --add-flags "-Djava.security.egd=file:/dev/../dev/urandom" \ --add-flags "-classpath '$out/share/flyway/lib/*:$out/share/flyway/drivers/*'" \ - --add-flags "-DjarDirs '$out/share/flyway/jars'" \ - --add-flags "org.flywaydb.commandline.Main" + --add-flags "org.flywaydb.commandline.Main" \ + --add-flags "-jarDirs='$out/share/flyway/jars'" ''; meta = with stdenv.lib; { description = "Evolve your Database Schema easily and reliably across all your instances"; |