fix script
This commit is contained in:
4
lib.nix
4
lib.nix
@@ -145,8 +145,8 @@ in
|
||||
set -euo pipefail
|
||||
mkdir -p ${lib.escapeShellArg runtimeDir}
|
||||
|
||||
PGDATA=$(realpath ${data_dir})
|
||||
PGHOST=$(realpath ${runtimeDir})
|
||||
PGDATA=${data_dir}
|
||||
PGHOST=${runtimeDir}
|
||||
PGPORT=${builtins.toString port}
|
||||
echo "Starting postgres with PGDATA=''${PGDATA} PGHOST=''${PGHOST} PGPORT=''${PGPORT}"
|
||||
export PGDATA PGHOST PGPORT
|
||||
|
||||
Reference in New Issue
Block a user