From f7169da0cf88df629d715e69113d66749c5bf86a Mon Sep 17 00:00:00 2001 From: Nikkuss Date: Mon, 17 Mar 2025 16:03:58 +0400 Subject: [PATCH] fix nix code --- lib.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.nix b/lib.nix index 479a5da..c76c456 100644 --- a/lib.nix +++ b/lib.nix @@ -114,7 +114,7 @@ in (lib.concatMapStrings (db: '' echo "Checking presence of database ${db.name}" dbAlreadyExists="$(echo "SELECT 1 AS result FROM pg_database WHERE datname='${db.name}';" | psql --dbname postgres | ${pkgs.gnugrep}/bin/grep -c 'exists = "1"' || true)" - echo $dbAlreadyExists + echo "$dbAlreadyExists" '') initialDatabases) else "";