mattermost: charset fixes (#436376)

This commit is contained in:
Morgan Jones
2025-09-01 02:19:03 +00:00
committed by GitHub
2 changed files with 3 additions and 3 deletions
@@ -668,7 +668,7 @@ in
}
else if cfg.database.driver == "mysql" then
{
charset = "utf8mb4,utf8";
charset = "utf8mb4";
writeTimeout = "60s";
readTimeout = "60s";
}
@@ -682,7 +682,7 @@ in
}
else if config.mattermost.database.driver == "mysql" then
{
charset = "utf8mb4,utf8";
charset = "utf8mb4";
writeTimeout = "60s";
readTimeout = "60s";
}
+1 -1
View File
@@ -337,7 +337,7 @@ mattermost.overrideAttrs (
# Start Postgres.
export PGDATA="$NIX_BUILD_TOP/.postgres"
initdb -U postgres
initdb -E UTF8 -U postgres
mkdir -p "$PGDATA/run"
cat <<EOF >> "$PGDATA/postgresql.conf"
unix_socket_directories = '$PGDATA/run'