From 4947fd35b553b4469e7bf6e6db307e0425b7e847 Mon Sep 17 00:00:00 2001 From: Nikkuss Date: Mon, 17 Mar 2025 13:09:31 +0400 Subject: [PATCH] fix script --- lib.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib.nix b/lib.nix index b83cbc7..77fa854 100644 --- a/lib.nix +++ b/lib.nix @@ -145,8 +145,8 @@ in set -euo pipefail mkdir -p ${lib.escapeShellArg runtimeDir} - PGDATA=$(realpath ${data_dir}) - PGHOST=$(realpath ${runtimeDir}) + PGDATA=${data_dir} + PGHOST=${runtimeDir} PGPORT=${builtins.toString port} echo "Starting postgres with PGDATA=''${PGDATA} PGHOST=''${PGHOST} PGPORT=''${PGPORT}" export PGDATA PGHOST PGPORT