summary refs log tree commit diff
diff options
context:
space:
mode:
authorVladyslav Pekker <agilesteel@gmail.com>2023-07-10 15:41:20 -0300
committerVladyslav Pekker <agilesteel@gmail.com>2023-07-10 16:00:16 -0300
commit49d503a9fa55327a73621c266e8eb19f96def714 (patch)
tree0127c447edd54c49d83e1248f99b7af2858649d5
parentc64ab88f6c4c7e37f5b8c9ac1a501df6a1447b0e (diff)
downloadnixpkgs-49d503a9fa55327a73621c266e8eb19f96def714.tar
nixpkgs-49d503a9fa55327a73621c266e8eb19f96def714.tar.gz
nixpkgs-49d503a9fa55327a73621c266e8eb19f96def714.tar.bz2
nixpkgs-49d503a9fa55327a73621c266e8eb19f96def714.tar.lz
nixpkgs-49d503a9fa55327a73621c266e8eb19f96def714.tar.xz
nixpkgs-49d503a9fa55327a73621c266e8eb19f96def714.tar.zst
nixpkgs-49d503a9fa55327a73621c266e8eb19f96def714.zip
liquibase: include jars in --version output
Moved jars to the `internal/lib` directory in an attempt to make them appear
in the `liquibase --version` output.

However it didn't help.

I left the change though because the default installer also puts the
jars into internal/lib.
-rw-r--r--pkgs/development/tools/database/liquibase/default.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/tools/database/liquibase/default.nix b/pkgs/development/tools/database/liquibase/default.nix
index a11f214e1c2..76f43a580ef 100644
--- a/pkgs/development/tools/database/liquibase/default.nix
+++ b/pkgs/development/tools/database/liquibase/default.nix
@@ -48,7 +48,10 @@ stdenv.mkDerivation rec {
     in
     ''
       mkdir -p $out
-      mv ./{lib,licenses,internal/lib/*.jar} $out/
+      mv ./{lib,licenses} $out/
+
+      mkdir -p $out/internal/lib
+      mv ./internal/lib/*.jar $out/internal/lib/
 
       mkdir -p $out/share/doc/${pname}-${version}
       mv LICENSE.txt \
@@ -63,6 +66,7 @@ stdenv.mkDerivation rec {
       #!/usr/bin/env bash
       # taken from the executable script in the source
       CP=""
+      ${addJars "$out/internal/lib"}
       ${addJars "$out/lib"}
       ${addJars "$out"}
       ${lib.concatStringsSep "\n" (map (p: addJars "${p}/share/java") extraJars)}