Skip to content

Commit aee6f0a

Browse files
authored
envoy: 1.35.2 -> 1.36.2 (NixOS#466126)
2 parents 37676e4 + cf2410d commit aee6f0a

File tree

3 files changed

+12
-35
lines changed

3 files changed

+12
-35
lines changed

pkgs/by-name/en/envoy/0002-nixpkgs-use-system-Go.patch

Lines changed: 0 additions & 24 deletions
This file was deleted.

pkgs/by-name/en/envoy/0003-nixpkgs-use-system-C-C-toolchains.patch

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@ diff --git a/bazel/dependency_imports.bzl b/bazel/dependency_imports.bzl
1313
index 10be4b0b3f65e486c1dc8419337a5cf823431774..b0badb3ccab3b112043bd8616770f8014238d396 100644
1414
--- a/bazel/dependency_imports.bzl
1515
+++ b/bazel/dependency_imports.bzl
16-
@@ -38,7 +38,11 @@ def envoy_dependency_imports(
16+
@@ -40,7 +40,11 @@ def envoy_dependency_imports(
1717
yq_version = YQ_VERSION,
1818
buf_sha = BUF_SHA,
1919
buf_version = BUF_VERSION):
20+
compatibility_proxy_repo()
2021
- rules_foreign_cc_dependencies()
2122
+ rules_foreign_cc_dependencies(
2223
+ register_default_tools=False, # no prebuilt toolchains

pkgs/by-name/en/envoy/package.nix

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
rustPlatform,
1313
cmake,
1414
gn,
15-
go_1_24,
1615
openjdk11_headless,
1716
ninja,
1817
patchelf,
@@ -39,9 +38,9 @@ let
3938
# However, the version string is more useful for end-users.
4039
# These are contained in a attrset of their own to make it obvious that
4140
# people should update both.
42-
version = "1.35.2";
43-
rev = "2c2cd7efd119a5c9028b68a97d88a540248f8d18";
44-
hash = "sha256-HhjIewZMOr9hzcnFPIckfK5PIozqdypSdmYgvb7ccds=";
41+
version = "1.36.2";
42+
rev = "dc2d3098ae5641555f15c71d5bb5ce0060a8015c";
43+
hash = "sha256-ll7gn3y2dUW3kMtbUTjfi7ZTviE87S30ptiRlCPec9Q=";
4544
};
4645

4746
# these need to be updated for any changes to fetchAttrs
@@ -50,8 +49,8 @@ let
5049
depsHash
5150
else
5251
{
53-
x86_64-linux = "sha256-xBSSDxvp6VjZt+Fc62/eP5Z2WWfpkAGl1Z+PupyDpg4=";
54-
aarch64-linux = "sha256-2g8x12zkyZyjkv5NubG4bVmiLiN8uoEZ33e6Azd1guw=";
52+
x86_64-linux = "sha256-AqXGk6IZ85TFNO7v8KFJOe8Caf1x4xQh/VuhaUq9rB4=";
53+
aarch64-linux = "sha256-l70j1UcVNHGrzzvcqdeLDJUuaLkoLNM2yWCHKY4EShs=";
5554
}
5655
.${stdenv.system} or (throw "unsupported system ${stdenv.system}");
5756

@@ -76,9 +75,6 @@ buildBazelPackage rec {
7675
# use system Python, not bazel-fetched binary Python
7776
./0001-nixpkgs-use-system-Python.patch
7877

79-
# use system Go, not bazel-fetched binary Go
80-
./0002-nixpkgs-use-system-Go.patch
81-
8278
# use system C/C++ tools
8379
./0003-nixpkgs-use-system-C-C-toolchains.patch
8480

@@ -124,7 +120,6 @@ buildBazelPackage rec {
124120
cmake
125121
python3
126122
gn
127-
go_1_24
128123
jdk
129124
ninja
130125
patchelf
@@ -178,6 +173,10 @@ buildBazelPackage rec {
178173
rm -r $bazelOut/external/local_jdk
179174
rm -r $bazelOut/external/bazel_gazelle_go_repository_tools/bin
180175
176+
# CMake 4.1 drops compatibility with <3.5; bump libevent's floor to avoid configure failure.
177+
sed -i 's/cmake_minimum_required(VERSION 3\\.1.2 FATAL_ERROR)/cmake_minimum_required(VERSION 3.5 FATAL_ERROR)/' \
178+
$bazelOut/external/com_github_libevent_libevent/CMakeLists.txt
179+
181180
# Remove compiled python
182181
find $bazelOut -name '*.pyc' -delete
183182
@@ -200,6 +199,7 @@ buildBazelPackage rec {
200199
dontUseNinjaInstall = true;
201200
bazel = null;
202201
preConfigure = ''
202+
export CMAKE_POLICY_VERSION_MINIMUM=3.5
203203
echo "common --repository_cache=\"$bazelOut/external/repository_cache\"" >> .bazelrc
204204
echo "common --repository_disable_download" >> .bazelrc
205205

0 commit comments

Comments
 (0)