summarylogtreecommitdiffstats
path: root/strip-type-checking-deps.patch
diff options
context:
space:
mode:
Diffstat (limited to 'strip-type-checking-deps.patch')
-rw-r--r--strip-type-checking-deps.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/strip-type-checking-deps.patch b/strip-type-checking-deps.patch
index 36b08b2931d6..d9c4e0346698 100644
--- a/strip-type-checking-deps.patch
+++ b/strip-type-checking-deps.patch
@@ -3,7 +3,7 @@ Mypy-protobuf generates mypy stub files from protobuf specs and should
therefore be stripped.
--- a/build/configure/src/python.rs
+++ b/build/configure/src/python.rs
-@@ -86,9 +86,7 @@ pub struct GenPythonProto {
+@@ -87,9 +87,7 @@ pub struct GenPythonProto {
impl BuildAction for GenPythonProto {
fn command(&self) -> &str {
"$protoc $
@@ -13,10 +13,10 @@ therefore be stripped.
-Iproto $in"
}
-@@ -106,7 +104,6 @@ impl BuildAction for GenPythonProto {
+@@ -107,7 +105,6 @@ impl BuildAction for GenPythonProto {
.collect();
build.add_inputs("in", &self.proto_files);
- build.add_inputs("protoc", inputs!["$protoc_binary"]);
+ build.add_inputs("protoc", inputs![":protoc_binary"]);
- build.add_inputs("protoc-gen-mypy", inputs![":pyenv:protoc-gen-mypy"]);
build.add_outputs("", python_outputs);
}