Skip to content

Commit

Permalink
liquibase: Add sourceRoot
Browse files Browse the repository at this point in the history
To fix the build issue that was introduced in f373abe
when the custom `unpackPhase` was removed without correctly validating the build,
which results in:
```
error: builder for '/nix/store/5qax6r6kxi4spn5bc7qjpgglxb9kvhxp-liquibase-4.29.2.drv' failed with exit code 1;
       last 3 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/v12lcsjxsq3n4lgi8za3k9mqc8pak59b-liquibase-4.29.2.tar.gz
       > unpacker produced multiple directories
       For full logs, run 'nix log /nix/store/5qax6r6kxi4spn5bc7qjpgglxb9kvhxp-liquibase-4.29.2.drv'.
```
  • Loading branch information
alexanderheldt committed Oct 4, 2024
1 parent 66a7f7e commit 655ef48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/development/tools/database/liquibase/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ stdenv.mkDerivation (finalAttrs: {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ jre ];

sourceRoot = ".";

installPhase =
let addJars = dir: ''
for jar in ${dir}/*.jar; do
Expand Down

0 comments on commit 655ef48

Please sign in to comment.