From 22210e77226e2cd457b667e28e6e4baed9590094 Mon Sep 17 00:00:00 2001 From: Joshua Potter Date: Fri, 1 Dec 2023 10:55:04 -0700 Subject: [PATCH] Update the `PGDATA` environment variable. --- specs/phoenix/template/flake.nix | 2 +- specs/postgres/template/flake.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/phoenix/template/flake.nix b/specs/phoenix/template/flake.nix index 874a66b..695d912 100644 --- a/specs/phoenix/template/flake.nix +++ b/specs/phoenix/template/flake.nix @@ -59,7 +59,7 @@ # environment variable whenever `-D` is not specified (for e.g. # `postgres` and `pg_ctl`). # https://www.postgresql.org/docs/15/server-start.html - export PGDATA="$PWD/data" + export PGDATA="$PWD/db" ''; }; }); diff --git a/specs/postgres/template/flake.nix b/specs/postgres/template/flake.nix index a27a9da..7f0030c 100644 --- a/specs/postgres/template/flake.nix +++ b/specs/postgres/template/flake.nix @@ -30,7 +30,7 @@ # environment variable whenever `-D` is not specified (for e.g. # `postgres` and `pg_ctl`). # https://www.postgresql.org/docs/15/server-start.html - export PGDATA="$PWD/data" + export PGDATA="$PWD/db" ''; }; });