python311Packages.protobuf: drop extraneous patch
https://hydra.nixos.org/build/231540486/nixlog/1/tail
This commit is contained in:
@@ -27,14 +27,7 @@ buildPythonPackage {
|
||||
|
||||
sourceRoot = "${protobuf.src.name}/python";
|
||||
|
||||
patches = lib.optionals (pythonAtLeast "3.11") [
|
||||
(fetchpatch {
|
||||
url = "https://github.com/protocolbuffers/protobuf/commit/da973aff2adab60a9e516d3202c111dbdde1a50f.patch";
|
||||
stripLen = 2;
|
||||
extraPrefix = "";
|
||||
hash = "sha256-a/12C6yIe1tEKjsMxcfDAQ4JHolA8CzkN7sNG8ZspPs=";
|
||||
})
|
||||
] ++ lib.optionals (lib.versionAtLeast protobuf.version "3.22") [
|
||||
patches = lib.optionals (lib.versionAtLeast protobuf.version "3.22") [
|
||||
# Replace the vendored abseil-cpp with nixpkgs'
|
||||
(substituteAll {
|
||||
src = ./use-nixpkgs-abseil-cpp.patch;
|
||||
|
||||
Reference in New Issue
Block a user