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