From 24fc4149269cc860c9850bd11bd998d4353ee3df Mon Sep 17 00:00:00 2001 From: Nikkuss Date: Mon, 17 Mar 2025 13:18:45 +0400 Subject: [PATCH] fix script --- lib.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib.nix b/lib.nix index d1696b0..a6000ae 100644 --- a/lib.nix +++ b/lib.nix @@ -55,6 +55,7 @@ in pkgs.writeShellApplication { inherit name; text = '' + PC_CONFIG_FILES=${configFile} RUNTIME_PATH=$(pwd)/${runtime} ${pkgs.process-compose}/bin/process-compose "$@" ''; }; @@ -142,7 +143,7 @@ in PGDATA=$RUNTIME_PATH/${name}/data PGHOST=$RUNTIME_PATH/${name}/socket PGPORT=${builtins.toString port} - mkdir -p $PGHOST + mkdir -p "$PGHOST" echo "Starting postgres with PGDATA=''${PGDATA} PGHOST=''${PGHOST} PGPORT=''${PGPORT}" export PGDATA PGHOST PGPORT ${setupScript}/bin/setup-postgres