From 49d503a9fa55327a73621c266e8eb19f96def714 Mon Sep 17 00:00:00 2001 From: Vladyslav Pekker Date: Mon, 10 Jul 2023 15:41:20 -0300 Subject: [PATCH] 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. --- pkgs/development/tools/database/liquibase/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkgs/development/tools/database/liquibase/default.nix b/pkgs/development/tools/database/liquibase/default.nix index a11f214e1c20..76f43a580ef4 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)}