3
0
Fork 0
forked from mirrors/nixpkgs

matrix-synapse: fix startup

Currently, `setuptools` isn't propagated automatically to python
packages[1] which causes the following error when starting
`matrix-synapse`:

```
Traceback (most recent call last):
   File "/nix/store/xxkds7821mrahfx75az0sq3ryf69m612-matrix-synapse-1.3.1/bin/.homeserver-wrapped", line 39, in <module>
     import synapse.config.logger
   File "/nix/store/xxkds7821mrahfx75az0sq3ryf69m612-matrix-synapse-1.3.1/lib/python3.7/site-packages/synapse/config/logger.py", line 27, in <module>
     from synapse.app import _base as appbase
   File "/nix/store/xxkds7821mrahfx75az0sq3ryf69m612-matrix-synapse-1.3.1/lib/python3.7/site-packages/synapse/app/__init__.py", line 18, in <module>
 E402
   File "/nix/store/xxkds7821mrahfx75az0sq3ryf69m612-matrix-synapse-1.3.1/lib/python3.7/site-packages/synapse/python_dependencies.py", line 19, in <module>
     from pkg_resources import (
 No module named 'pkg_resources'
```

[1] https://github.com/NixOS/nixpkgs/pull/68314
This commit is contained in:
Maximilian Bosch 2019-09-10 16:33:48 +02:00
parent 19bf73d826
commit 58dc1e2a6f
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -36,6 +36,7 @@ in buildPythonApplication rec {
];
propagatedBuildInputs = [
setuptools
bcrypt
bleach
canonicaljson