try fix script
This commit is contained in:
2
lib.nix
2
lib.nix
@@ -142,7 +142,7 @@ in
|
||||
name = "run-postgres";
|
||||
text = ''
|
||||
set -euo pipefail
|
||||
export PGDATA=$(realpath ${data_dir}) PGHOST=$(realpath (${runtimeDir}) PGPORT=${builtins.toString port}
|
||||
export PGDATA=$(realpath ${data_dir}) PGHOST=$(realpath ${runtimeDir}) PGPORT=${builtins.toString port}
|
||||
mkdir -p ${lib.escapeShellArg runtimeDir}
|
||||
${setupScript}/bin/setup-postgres
|
||||
${package}/bin/postgres
|
||||
|
||||
Reference in New Issue
Block a user