diff options
author | Theodore Ni <3806110+tjni@users.noreply.github.com> | 2023-08-23 17:17:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-23 17:17:11 -0700 |
commit | efd669991658dc9a3fb881f9e2cfe0741f24cb7d (patch) | |
tree | f755499278f2989c9ba58395985a657e1a4e3127 /pkgs/servers/matrix-synapse | |
parent | 200341fde01e5bf98969af04e19aa741c32ded19 (diff) | |
parent | 786f7a0b8fe10f82d8d5774533b60539a1486dfa (diff) |
Merge pull request #250671 from tjni/matrix-synapse
matrix-synapse: relax build dependencies
Diffstat (limited to 'pkgs/servers/matrix-synapse')
-rw-r--r-- | pkgs/servers/matrix-synapse/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/servers/matrix-synapse/default.nix b/pkgs/servers/matrix-synapse/default.nix index ab7d92aef18cc..adf8063f42516 100644 --- a/pkgs/servers/matrix-synapse/default.nix +++ b/pkgs/servers/matrix-synapse/default.nix @@ -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; [ |