neater formatting for flake.nix
This commit is contained in:
parent
6f373f5ea8
commit
18f791368b
|
@ -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
|
||||
'';
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue