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