From bfa8995160d70abbce8372386dc0895ab4245826 Mon Sep 17 00:00:00 2001 From: D Anzorge Date: Mon, 12 Apr 2021 01:17:25 +0200 Subject: [PATCH] add --noinput to noninteractive manage.py invocations under nix --- nix/module.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix/module.nix b/nix/module.nix index fa03f06fe..3c63729be 100644 --- a/nix/module.nix +++ b/nix/module.nix @@ -387,8 +387,8 @@ in preStart = '' ${concatStringsSep "\n" (mapAttrsToList (n: v: ''export ${n}="$(cat '${v}')"'') envSecrets)} - ${bookwyrm}/bin/python ${bookwyrm}/manage.py migrate - ${bookwyrm}/bin/python ${bookwyrm}/manage.py collectstatic + ${bookwyrm}/bin/python ${bookwyrm}/manage.py migrate --noinput + ${bookwyrm}/bin/python ${bookwyrm}/manage.py collectstatic --noinput ''; script = ''