matrix-synapse: relax build dependencies
This commit is contained in:
parent
dfe898c801
commit
786f7a0b8f
1 changed files with 5 additions and 0 deletions
|
@ -36,6 +36,11 @@ python3.pkgs.buildPythonApplication rec {
|
|||
# Remove setuptools_rust from runtime dependencies
|
||||
# https://github.com/matrix-org/synapse/blob/v1.69.0/pyproject.toml#L177-L185
|
||||
sed -i '/^setuptools_rust =/d' pyproject.toml
|
||||
|
||||
# Remove version pin on build dependencies. Upstream does this on purpose to
|
||||
# be extra defensive, but we don't want to deal with updating this
|
||||
sed -i 's/"poetry-core>=\([0-9.]*\),<=[0-9.]*"/"poetry-core>=\1"/' pyproject.toml
|
||||
sed -i 's/"setuptools_rust>=\([0-9.]*\),<=[0-9.]*"/"setuptools_rust>=\1"/' pyproject.toml
|
||||
'';
|
||||
|
||||
nativeBuildInputs = with python3.pkgs; [
|
||||
|
|
Loading…
Reference in a new issue