Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit cd8b73a

Browse files
authored
Fix the devenv up configuration which was ignoring the config overrides. (#15854)
* Fix use of config override directory in `devenv up` `--config-directory` is for the generate config script; `-c` is for usage * Add homeserver config override directory to gitignore * Newsfile Signed-off-by: Olivier Wilkinson (reivilibre) <[email protected]> --------- Signed-off-by: Olivier Wilkinson (reivilibre) <[email protected]>
1 parent 53aa26e commit cd8b73a

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ __pycache__/
3434
/logs
3535
/media_store/
3636
/uploads
37+
/homeserver-config-overrides.d
3738

3839
# For direnv users
3940
/.envrc

changelog.d/15854.misc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix the `devenv up` configuration which was ignoring the config overrides.

flake.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
EOF
179179
'';
180180
# Start synapse when `devenv up` is run.
181-
processes.synapse.exec = "poetry run python -m synapse.app.homeserver -c homeserver.yaml --config-directory homeserver-config-overrides.d";
181+
processes.synapse.exec = "poetry run python -m synapse.app.homeserver -c homeserver.yaml -c homeserver-config-overrides.d";
182182

183183
# Define the perl modules we require to run SyTest.
184184
#

0 commit comments

Comments
 (0)