try fix script

This commit is contained in:
2025-03-17 12:36:19 +04:00
parent 4751fa7d96
commit c84a3bf6fc

View File

@@ -142,7 +142,7 @@ in
name = "run-postgres";
text = ''
set -euo pipefail
export PGDATA=${data_dir} PGHOST=${runtimeDir} PGPORT=${builtins.toString port}
export PGDATA=$(pwd)/${data_dir} PGHOST=$(pwd)/${runtimeDir} PGPORT=${builtins.toString port}
pwd
mkdir -p ${lib.escapeShellArg runtimeDir}
${setupScript}/bin/setup-postgres