From 5f43235370ad9fce0cb04ef76c5200e58725b554 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Mon, 3 Jan 2022 23:02:03 +0100 Subject: [PATCH] nix: Fix nested postgrest-with-postgresql-x calls when -f is used --- nix/tools/withTools.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/tools/withTools.nix b/nix/tools/withTools.nix index fbc0bd44c..9473e76f7 100644 --- a/nix/tools/withTools.nix +++ b/nix/tools/withTools.nix @@ -36,7 +36,7 @@ let '' # avoid starting multiple layers of withTmpDb if test -v PGRST_DB_URI; then - exec "$@" + exec "$_arg_command" "''${_arg_leftovers[@]}" fi setuplog="$tmpdir/setup.log"