From 8221d4fe9a48b337074b4fd28429889979dc54fe Mon Sep 17 00:00:00 2001 From: ibizaman Date: Mon, 25 Aug 2025 08:38:20 +0200 Subject: [PATCH] postgresql: update reference to psql binary --- modules/blocks/postgresql.nix | 2 +- test/modules/postgresql.nix | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/blocks/postgresql.nix b/modules/blocks/postgresql.nix index 9cfb0ab..ba7c667 100644 --- a/modules/blocks/postgresql.nix +++ b/modules/blocks/postgresql.nix @@ -134,7 +134,7 @@ in systemd.services.postgresql.postStart = let prefix = '' - $PSQL -tA <<'EOF' + psql -tA <<'EOF' DO $$ DECLARE password TEXT; BEGIN diff --git a/test/modules/postgresql.nix b/test/modules/postgresql.nix index 02e60a6..3e35a91 100644 --- a/test/modules/postgresql.nix +++ b/test/modules/postgresql.nix @@ -104,7 +104,7 @@ in settings = commonSettings; }; systemd.services.postgresql.postStart = '' - $PSQL -tA <<'EOF' + psql -tA <<'EOF' DO $$ DECLARE password TEXT; BEGIN @@ -190,7 +190,7 @@ in settings = commonSettings; }; systemd.services.postgresql.postStart = '' - $PSQL -tA <<'EOF' + psql -tA <<'EOF' DO $$ DECLARE password TEXT; BEGIN @@ -243,7 +243,7 @@ in settings = commonSettings; }; systemd.services.postgresql.postStart = '' - $PSQL -tA <<'EOF' + psql -tA <<'EOF' DO $$ DECLARE password TEXT; BEGIN