git.iko.soy/typeable/nixpkgs
on master help sign in
nixos/mastodon: use rails command instead of rake

Co-Authored-By: Izorkin <izorkin@elven.pw>

commit224df6940f0f322c0cfaa8a7c6f58d0b890898df authorKerstin Humm <kerstin@erictapen.name> dateMon 17 May 2021, 21:03 (6 years ago) parent878f011
1 file changed+3−3
nixos/modules/services/web-apps/mastodon.nix+3−3
nixos/modules/services/web-apps/mastodon.nix+3−3
@@ -448,10 +448,10 @@ in {
448448 join pg_namespace s on s.oid = c.relnamespace \
449449 where s.nspname not in ('pg_catalog', 'pg_toast', 'information_schema') \
450450 and s.nspname not like 'pg_temp%';" | sed -n 3p` -eq 0 ]; then
451− SAFETY_ASSURED=1 rake db:schema:load
452− rake db:seed
451+ SAFETY_ASSURED=1 rails db:schema:load
452+ rails db:seed
453453 else
454− rake db:migrate
454+ rails db:migrate
455455 fi
456456 '';
457457 path = [ cfg.package pkgs.postgresql ];