From deb13325b2182f8dbfc7ce3e31467e40193d02e1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 06:32:01 +0000 Subject: [PATCH 1/2] Update dependency protobuf to v26 --- rules_haskell_tests/MODULE.bazel | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules_haskell_tests/MODULE.bazel b/rules_haskell_tests/MODULE.bazel index 95c5ff1ec..4cbd8a2f0 100644 --- a/rules_haskell_tests/MODULE.bazel +++ b/rules_haskell_tests/MODULE.bazel @@ -81,7 +81,7 @@ bazel_dep( ) bazel_dep( name = "protobuf", - version = "21.7", + version = "26.0.bcr.1", repo_name = "com_google_protobuf", ) bazel_dep( From e979fb02223a80ae5a60233865c217dff46ccb28 Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Mon, 13 May 2024 17:57:08 +0200 Subject: [PATCH 2/2] Use 2014 ISO C++ standard on the host to compile abseil-cpp --- rules_haskell_tests/.bazelrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rules_haskell_tests/.bazelrc b/rules_haskell_tests/.bazelrc index 43a3ba1dd..34a34677d 100644 --- a/rules_haskell_tests/.bazelrc +++ b/rules_haskell_tests/.bazelrc @@ -1,6 +1,9 @@ import %workspace%/../.bazelrc.common import %workspace%/.bazelrc.bzlmod +# abseil c++ (a dependency of protobuf) needs a C++14 compiler, but rules_nixpkgs cc sets `-std=c++0x` +build:nixpkgs --host_cxxopt=-std=c++14 + # User Configuration # ------------------ try-import %workspace%/.bazelrc.local