try fix script
This commit is contained in:
1
lib.nix
1
lib.nix
@@ -147,6 +147,7 @@ in
|
|||||||
PGDATA=$(realpath ${data_dir})
|
PGDATA=$(realpath ${data_dir})
|
||||||
PGHOST=$(realpath ${runtimeDir})
|
PGHOST=$(realpath ${runtimeDir})
|
||||||
PGPORT=${builtins.toString port}
|
PGPORT=${builtins.toString port}
|
||||||
|
echo "Starting postgres with PGDATA=''${PGDATA} PGHOST=''${PGHOST} PGPORT=''${PGPORT}"
|
||||||
export PGDATA PGHOST PGPORT
|
export PGDATA PGHOST PGPORT
|
||||||
${setupScript}/bin/setup-postgres
|
${setupScript}/bin/setup-postgres
|
||||||
${package}/bin/postgres
|
${package}/bin/postgres
|
||||||
|
|||||||
Reference in New Issue
Block a user