···25 # However, the version string is more useful for end-users.
26 # These are contained in a attrset of their own to make it obvious that
27 # people should update both.
28- version = "1.27.5";
29- rev = "be4f1cfd31c79fc05651efa2f88429b3c03d1d9e";
30- hash = "sha256-+sjNqq91YfyW83aq/8WoSo7Jl5QZUmtWtsajnLLMgDc=";
31 };
3233 # these need to be updated for any changes to fetchAttrs
34 depsHash = {
35- x86_64-linux = "sha256-4XJgPfNEPmbvAZMLlQcnIaoGzaFtyhsuEshdEjLh0OY=";
36- aarch64-linux = "sha256-85HLiK+xX/tabazh97J4fWk5KYc7kynbxj/g8HCGTD4=";
37 }.${stdenv.system} or (throw "unsupported system ${stdenv.system}");
38in
39buildBazelPackage {
···57 sed -i '/javabase=/d' .bazelrc
58 sed -i '/"-Werror"/d' bazel/envoy_internal.bzl
5960- cp ${./protobuf.patch} bazel/protobuf.patch
61 '';
6263 patches = [
···70 # use system C/C++ tools
71 ./0003-nixpkgs-use-system-C-C-toolchains.patch
7273- # bump proxy-wasm-cpp-host until > 1.27.3/1.28.0
74- (fetchpatch {
75- url = "https://github.com/envoyproxy/envoy/pull/31451.patch";
76- hash = "sha256-n8k7bho3B8Gm0dJbgf43kU7ymvo15aGJ2Twi2xR450g=";
77- })
78 ];
7980 nativeBuildInputs = [
···90 buildInputs = [
91 linuxHeaders
92 ];
93-94- # external/com_github_grpc_grpc/src/core/ext/transport/binder/transport/binder_transport.cc:756:29: error: format not a string literal and no format arguments [-Werror=format-security]
95- hardeningDisable = [ "format" ];
9697 fetchAttrs = {
98 sha256 = depsHash;
···171 "--extra_toolchains=@local_jdk//:all"
172 "--java_runtime_version=local_jdk"
173 "--tool_java_runtime_version=local_jdk"
00000000174175 "--define=wasm=${wasmRuntime}"
176 ] ++ (lib.optionals stdenv.isAarch64 [
···25 # However, the version string is more useful for end-users.
26 # These are contained in a attrset of their own to make it obvious that
27 # people should update both.
28+ version = "1.30.1";
29+ rev = "816188b86a0a52095b116b107f576324082c7c02";
30+ hash = "sha256-G0rT+OfMk2nitTXcxMr04jwUMYTfb4VBEV1zftalgFU=";
31 };
3233 # these need to be updated for any changes to fetchAttrs
34 depsHash = {
35+ x86_64-linux = "sha256-Pj176fQts/H+BlzsVkx+OlUF+4+GHutnNZ5f+eagMmk=";
36+ aarch64-linux = "sha256-5El0WOYTLiBKhYxRXKJFv1m2M8jZlN1cYrJDnRX2wYs=";
37 }.${stdenv.system} or (throw "unsupported system ${stdenv.system}");
38in
39buildBazelPackage {
···57 sed -i '/javabase=/d' .bazelrc
58 sed -i '/"-Werror"/d' bazel/envoy_internal.bzl
5960+ cp ${./dd_trace_cpp.patch} bazel/dd_trace_cpp.patch
61 '';
6263 patches = [
···70 # use system C/C++ tools
71 ./0003-nixpkgs-use-system-C-C-toolchains.patch
7273+ # apply patch to dd-trace-cpp
74+ # remove once a version of dd-trace-cpp is released and adopted by envoy
75+ # that contains https://github.com/DataDog/dd-trace-cpp/commit/3a8e1e9a3cf4e87ef053e954a39dc7a967ac6965
76+ ./0004-nixpkgs-add-cstdint-in-dd-trace-cpp.patch
077 ];
7879 nativeBuildInputs = [
···89 buildInputs = [
90 linuxHeaders
91 ];
0009293 fetchAttrs = {
94 sha256 = depsHash;
···167 "--extra_toolchains=@local_jdk//:all"
168 "--java_runtime_version=local_jdk"
169 "--tool_java_runtime_version=local_jdk"
170+171+ # undefined reference to 'grpc_core::*Metadata*::*Memento*
172+ #
173+ # During linking of the final binary, we see undefined references to grpc_core related symbols.
174+ # The missing symbols would be instantiations of a template class from https://github.com/grpc/grpc/blob/v1.59.4/src/core/lib/transport/metadata_batch.h
175+ # "ParseMemento" and "MementoToValue" are only implemented for some types
176+ # and appear unused and unimplemented for the undefined cases reported by the linker.
177+ "--linkopt=-Wl,--unresolved-symbols=ignore-in-object-files"
178179 "--define=wasm=${wasmRuntime}"
180 ] ++ (lib.optionals stdenv.isAarch64 [