nix(refactor): Make with_tmp_db true checkedShellScript

This extends the interface of withTmpDb to allow loading different sets
of database fixtures via `postgrest-with-postgresql-xx --fixtures
<path>`.
This commit is contained in:
Wolfgang Walther
2021-04-24 15:07:13 +02:00
committed by Wolfgang Walther
parent f6b3a5cc22
commit ba47a54293
6 changed files with 61 additions and 22 deletions
@@ -77,9 +77,8 @@ let
text =
''
#!${bash_5}/bin/bash
set -euo pipefail
source ${argsParser}
set -euo pipefail
''
+ lib.optionalString redirectTixFiles ''