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