neater formatting for flake.nix

This commit is contained in:
778a69cd 2024-03-07 13:07:33 +01:00
parent 12e04d839e
commit f12b75c015

View file

@ -162,7 +162,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
'';
})