From a85a7040d0f308ea8a79fd38e75ef866f8373e49 Mon Sep 17 00:00:00 2001 From: Nikkuss Date: Mon, 17 Mar 2025 12:06:36 +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..12712b1 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"