From 18f791368b7787b78cf6155ad5da3b9c196911a3 Mon Sep 17 00:00:00 2001 From: 778a69cd <778a69cd@potsda.mn> Date: Thu, 7 Mar 2024 13:07:33 +0100 Subject: [PATCH] neater formatting for flake.nix --- flake.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index e6954fbf9..6670c7871 100644 --- a/flake.nix +++ b/flake.nix @@ -159,7 +159,11 @@ text = '' cat ${mobilizonConfig} > config/runtime.exs # We assume the database already exists - sudo -u postgres psql -d mobilizon -c "create extension if not exists postgis; create extension if not exists unaccent; create extension if not exists pg_trgm;" + sudo -u postgres psql -d mobilizon << SQL + create extension if not exists postgis; + create extension if not exists unaccent; + create extension if not exists pg_trgm; + SQL mix ecto.migrate ''; })