diff --git a/flake.nix b/flake.nix index 19a20146f..a26baf9bd 100644 --- a/flake.nix +++ b/flake.nix @@ -807,9 +807,6 @@ exit 1 fi - echo "Running migrations tests" - pg_prove -p 5435 -U supabase_admin -h localhost -d postgres -v ${./migrations/tests}/test.sql - mkdir -p $out/regression_output if ! pg_regress \ --use-existing \ @@ -825,6 +822,9 @@ exit 1 fi + echo "Running migrations tests" + pg_prove -p 5435 -U supabase_admin -h localhost -d postgres -v ${./migrations/tests}/test.sql + # Copy logs to output for logfile in $(find /tmp -name postgresql.log -type f); do cp "$logfile" $out/postgresql.log diff --git a/nix/ext/supautils.nix b/nix/ext/supautils.nix index f3f5f1482..b137d2664 100644 --- a/nix/ext/supautils.nix +++ b/nix/ext/supautils.nix @@ -2,7 +2,7 @@ stdenv.mkDerivation rec { pname = "supautils"; - version = "2.6.0"; + version = "2.7.0"; buildInputs = [ postgresql ]; @@ -10,7 +10,7 @@ stdenv.mkDerivation rec { owner = "supabase"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-QNfUpQjqHNzbNqBvjb5a3GtNH9hjbBMDUK19xUU3LpI="; + hash = "sha256-rlmpzSqwLNiYgqzwPuoU0UKwZR/7WaLCqHkWw/uOfw8="; }; installPhase = ''