neater formatting for flake.nix

This commit is contained in:
778a69cd 2024-03-07 13:07:33 +01:00
parent 6f373f5ea8
commit 18f791368b

View file

@ -159,7 +159,11 @@
text = '' text = ''
cat ${mobilizonConfig} > config/runtime.exs cat ${mobilizonConfig} > config/runtime.exs
# We assume the database already exists # 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 mix ecto.migrate
''; '';
}) })