forked from mirrors/nixpkgs
matrix-synapse: remove setuptools_rust from runtime dependencies
This commit is contained in:
parent
4c81ed6ef9
commit
a7a59fe459
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue