From 19b02ca7c1d0d7ec8fbbbe531efba011a50b966e Mon Sep 17 00:00:00 2001 From: Nikkuss Date: Mon, 17 Mar 2025 12:55:23 +0400 Subject: [PATCH] try fix script --- lib.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib.nix b/lib.nix index 3b7b9c0..7c3570a 100644 --- a/lib.nix +++ b/lib.nix @@ -142,11 +142,12 @@ in name = "run-postgres"; text = '' set -euo pipefail + mkdir -p ${lib.escapeShellArg runtimeDir} + PGDATA=$(realpath ${data_dir}) PGHOST=$(realpath ${runtimeDir}) PGPORT=${builtins.toString port} export PGDATA PGHOST PGPORT - mkdir -p ${lib.escapeShellArg runtimeDir} ${setupScript}/bin/setup-postgres ${package}/bin/postgres '';