From d0e7fcf8fe97aafe0f7a793d71a6a9c5435565dd Mon Sep 17 00:00:00 2001 From: Nikkuss Date: Mon, 17 Mar 2025 12:17:20 +0400 Subject: [PATCH] fix expression --- lib.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.nix b/lib.nix index 9e05c84..e643a32 100644 --- a/lib.nix +++ b/lib.nix @@ -128,7 +128,7 @@ in echo echo "PostgreSQL is setting up the initial database" echo - if [[ -z "$PGHOST" ]]; then + if [[ -z "$${PGHOST+x}" ]]; then OLDPGHOST="" else OLDPGHOST="$PGHOST"