We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a819165 commit 7d5f16bCopy full SHA for 7d5f16b
nix/checks.nix
@@ -171,7 +171,9 @@
171
#First we need to create a generic pg cluster for pgtap tests and run those
172
export GRN_PLUGINS_DIR=${pkgs.supabase-groonga}/lib/groonga/plugins
173
PGTAP_CLUSTER=$(mktemp -d)
174
- initdb --locale=C --username=supabase_admin -D "$PGTAP_CLUSTER"
+
175
+ # Use --allow-group-access to allow initdb to run as root (needed on macOS)
176
+ initdb --locale=C --username=supabase_admin --allow-group-access -D "$PGTAP_CLUSTER"
177
substitute ${./tests/postgresql.conf.in} "$PGTAP_CLUSTER"/postgresql.conf \
178
--subst-var-by PGSODIUM_GETKEY_SCRIPT "${getkey-script}/bin/pgsodium-getkey"
179
echo "listen_addresses = '*'" >> "$PGTAP_CLUSTER"/postgresql.conf
0 commit comments