From ebceeb1d15e5e502697e96a2c56a242f593bd32c Mon Sep 17 00:00:00 2001 From: breken-ai <312387581+breken-ai@users.noreply.github.com> Date: Fri, 25 Sep 2026 21:24:51 -0700 Subject: [PATCH] fix(dbmate-tool): default --version to all so a bare run migrates every version PSQL_VERSION defaulted to "ALL" but the dispatch compares against lowercase "all", so running the tool without --version (the documented default and the first example in migrations/README.md) fell through to the single-version path and tried to build the nonexistent psql_ALL/bin flake attribute. --- nix/packages/dbmate-tool.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/packages/dbmate-tool.nix b/nix/packages/dbmate-tool.nix index a4c71f0347..c7c16f3198 100644 --- a/nix/packages/dbmate-tool.nix +++ b/nix/packages/dbmate-tool.nix @@ -25,7 +25,7 @@ writeShellApplication { ]; text = '' # Default values - PSQL_VERSION="ALL" + PSQL_VERSION="all" PORTNO="${defaults.port}" PGSQL_SUPERUSER="${defaults.superuser}" PGPASSWORD="''${PGPASSWORD:-postgres}"