Problem
hermes-agent fails to build on aarch64-darwin because onnxruntime 1.23.2 (via faster-whisper) hits -Werror,-Wunused-result errors from protobuf 34's [[nodiscard]] on SerializeToString. The existing protobuf34-nodiscard.patch in nixpkgs is incomplete for 1.23.2 (missing graph_test.cc fixes).
Upstream Fix
Already fixed in nixpkgs master via NixOS/nixpkgs#501901 (onnxruntime: 1.23.2 -> 1.24.4), merged 2026-03-23. The 1.24.4 version carries a more complete protobuf34-nodiscard.patch.
Resolution
This will resolve automatically once nixpkgs-unstable advances past the onnxruntime 1.24.4 update. No action needed in this repo — just wait for the next nixpkgs flake lock update.
References
Problem
hermes-agentfails to build onaarch64-darwinbecauseonnxruntime 1.23.2(viafaster-whisper) hits-Werror,-Wunused-resulterrors from protobuf 34's[[nodiscard]]onSerializeToString. The existingprotobuf34-nodiscard.patchin nixpkgs is incomplete for 1.23.2 (missinggraph_test.ccfixes).Upstream Fix
Already fixed in nixpkgs master via NixOS/nixpkgs#501901 (
onnxruntime: 1.23.2 -> 1.24.4), merged 2026-03-23. The 1.24.4 version carries a more completeprotobuf34-nodiscard.patch.Resolution
This will resolve automatically once
nixpkgs-unstableadvances past the onnxruntime 1.24.4 update. No action needed in this repo — just wait for the next nixpkgs flake lock update.References