From b1196d03c289819991b8bea4450916bf5e352621 Mon Sep 17 00:00:00 2001 From: Nikkuss Date: Mon, 17 Mar 2025 12:52:52 +0400 Subject: [PATCH] try fix script --- lib.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib.nix b/lib.nix index adf79ac..be30b2a 100644 --- a/lib.nix +++ b/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