matrix-synapse: remove setuptools_rust from runtime dependencies

This commit is contained in:
Nick Cao 2022-10-21 14:28:09 +08:00
parent 4c81ed6ef9
commit a7a59fe459
No known key found for this signature in database

View file

@ -27,6 +27,12 @@ buildPythonApplication rec {
hash = "sha256-RJq4mdPtnAR45rAycGDSSuvZwkJPOiqFBp+8mnBTKvU=";
};
postPatch = ''
# 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
'';
nativeBuildInputs = [
poetry-core
rustPlatform.cargoSetupHook