diff --git a/nix/services.nix b/nix/services.nix index e70b6d8f3..dc65babbe 100644 --- a/nix/services.nix +++ b/nix/services.nix @@ -67,7 +67,7 @@ fi set -x cp deployment/localsettings.template.py evap/localsettings.py - sed -i -e "s/\$SECRET_KEY/$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32)/" evap/localsettings.py + sed -i -e "s/\$SECRET_KEY/$(head /dev/urandom | LC_ALL=C tr -dc A-Za-z0-9 | head -c 32)/" evap/localsettings.py git submodule update --init ./manage.py migrate --noinput ./manage.py collectstatic --noinput