From 94f15d5a6f3c8665bfdb0d989982cea0a4703051 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sat, 4 Jun 2022 15:52:06 +0200 Subject: [PATCH] Fix database init script --- flake.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 75d2f222..bc45c33d 100644 --- a/flake.nix +++ b/flake.nix @@ -165,7 +165,7 @@ category = "database"; help = "Start postgres instance"; command = '' - [ ! -d $PGDATA ] && setup-db + [ ! -d $PGDATA ] && pg:setup pg_ctl -D $PGDATA -U postgres start -l log/postgres.log ''; }