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