mitmproxy-linux: fix fetchCargoVendor path

PR #387337 changed the directory layout of the vendored sources to include
a sub directory per dependency type.
This commit is contained in:
Mrmaxmeier
2026-03-22 17:10:19 +01:00
parent 6c9a78c09f
commit ef3e770dea
@@ -12,7 +12,7 @@ buildPythonPackage {
pyproject = true;
postPatch = ''
substituteInPlace ../mitmproxy-rs-*-vendor/aya-build-*/src/lib.rs \
substituteInPlace ../mitmproxy-rs-*-vendor/*/aya-build-*/src/lib.rs \
--replace-fail '"+nightly",' "" \
--replace-fail '"-Z",' "" \
--replace-fail '"build-std=core",' ""