lol

envoy: 1.31.2 -> 1.32.0

Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>

authored by

Paul Meyer and committed by
Luke Granger-Brown
b479fae2 5785b6bb

+25 -50
+10 -13
pkgs/by-name/en/envoy/0001-nixpkgs-use-system-Python.patch
··· 1 - From 07af89ac82e0c5876590f89284795bffa4b0e1c8 Mon Sep 17 00:00:00 2001 1 + From 47406ebaf0260e5b66a92baac3717936c8386b69 Mon Sep 17 00:00:00 2001 2 2 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> 3 3 Date: Mon, 22 Apr 2024 11:52:59 +0200 4 - Subject: [PATCH 1/3] nixpkgs: use system Python 4 + Subject: [PATCH] nixpkgs: use system Python 5 5 6 6 Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> 7 7 --- ··· 10 10 2 files changed, 5 insertions(+), 23 deletions(-) 11 11 12 12 diff --git a/bazel/python_dependencies.bzl b/bazel/python_dependencies.bzl 13 - index b015e851c0..53a2c93c59 100644 13 + index 9f2b336b1a..53a2c93c59 100644 14 14 --- a/bazel/python_dependencies.bzl 15 15 +++ b/bazel/python_dependencies.bzl 16 16 @@ -1,28 +1,25 @@ 17 17 load("@com_google_protobuf//bazel:system_python.bzl", "system_python") 18 18 -load("@envoy_toolshed//:packages.bzl", "load_packages") 19 - -load("@python3_11//:defs.bzl", "interpreter") 19 + -load("@python3_12//:defs.bzl", "interpreter") 20 20 load("@rules_python//python:pip.bzl", "pip_parse") 21 21 22 22 def envoy_python_dependencies(): ··· 47 47 extra_pip_args = ["--require-hashes"], 48 48 ) 49 49 diff --git a/bazel/repositories_extra.bzl b/bazel/repositories_extra.bzl 50 - index 7fd1dc4095..001de36a16 100644 50 + index b92dd461ba..cef32b3140 100644 51 51 --- a/bazel/repositories_extra.bzl 52 52 +++ b/bazel/repositories_extra.bzl 53 53 @@ -2,19 +2,11 @@ load("@aspect_bazel_lib//lib:repositories.bzl", "aspect_bazel_lib_dependencies") 54 - load("@com_github_rules_proto_grpc//:repositories.bzl", "rules_proto_grpc_toolchains") 54 + load("@bazel_features//:deps.bzl", "bazel_features_deps") 55 55 load("@emsdk//:deps.bzl", emsdk_deps = "deps") 56 - load("@proxy_wasm_cpp_host//bazel/cargo/wasmtime:crates.bzl", "wasmtime_fetch_remote_crates") 56 + load("@proxy_wasm_cpp_host//bazel/cargo/wasmtime/remote:crates.bzl", "crate_repositories") 57 57 -load("@rules_python//python:repositories.bzl", "py_repositories", "python_register_toolchains") 58 58 +load("@rules_python//python:repositories.bzl", "py_repositories") 59 59 load("//bazel/external/cargo:crates.bzl", "raze_fetch_remote_crates") ··· 62 62 - return "_".join(python_version.split(".")[:-1]) 63 63 - 64 64 -# Python version for `rules_python` 65 - -PYTHON_VERSION = "3.11.9" 65 + -PYTHON_VERSION = "3.12.3" 66 66 -PYTHON_MINOR_VERSION = _python_minor_version(PYTHON_VERSION) 67 67 - 68 68 # Envoy deps that rely on a first stage of dependency loading in envoy_dependencies(). 69 69 def envoy_dependencies_extra( 70 70 - python_version = PYTHON_VERSION, 71 71 ignore_root_user_error = False): 72 + bazel_features_deps() 72 73 emsdk_deps() 73 - raze_fetch_remote_crates() 74 74 @@ -22,11 +14,4 @@ def envoy_dependencies_extra( 75 - rules_proto_grpc_toolchains() 75 + crate_repositories() 76 76 py_repositories() 77 77 78 78 - # Registers underscored Python minor version - eg `python3_10` ··· 83 83 - ) 84 84 - 85 85 aspect_bazel_lib_dependencies() 86 - -- 87 - 2.45.1 88 -
+6 -24
pkgs/by-name/en/envoy/0002-nixpkgs-use-system-Go.patch
··· 1 - From 06b51e6a0c14e5ad7cfc1dc801561e6e6e1b2014 Mon Sep 17 00:00:00 2001 1 + From 4be181e96199529a36e9a93c837af7173c827493 Mon Sep 17 00:00:00 2001 2 2 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> 3 3 Date: Mon, 22 Apr 2024 11:58:00 +0200 4 - Subject: [PATCH 2/3] nixpkgs: use system Go 4 + Subject: [PATCH] nixpkgs: use system Go 5 5 6 6 Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> 7 7 --- 8 8 bazel/dependency_imports.bzl | 2 +- 9 - bazel/repositories.bzl | 3 --- 10 - 2 files changed, 1 insertion(+), 4 deletions(-) 9 + 1 file changed, 1 insertion(+), 1 deletion(-) 11 10 12 11 diff --git a/bazel/dependency_imports.bzl b/bazel/dependency_imports.bzl 13 - index 1bf6c54a25..4e55a129e4 100644 12 + index c68eb4bf3e..addee4f6af 100644 14 13 --- a/bazel/dependency_imports.bzl 15 14 +++ b/bazel/dependency_imports.bzl 16 - @@ -18,7 +18,7 @@ load("@rules_rust//rust:defs.bzl", "rust_common") 15 + @@ -20,7 +20,7 @@ load("@rules_rust//rust:defs.bzl", "rust_common") 17 16 load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_register_toolchains", "rust_repository_set") 18 17 19 18 # go version for rules_go 20 - -GO_VERSION = "1.20" 19 + -GO_VERSION = "1.23.1" 21 20 +GO_VERSION = "host" 22 21 23 22 JQ_VERSION = "1.7" 24 23 YQ_VERSION = "4.24.4" 25 - diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl 26 - index 02f7abd725..aad9adac24 100644 27 - --- a/bazel/repositories.bzl 28 - +++ b/bazel/repositories.bzl 29 - @@ -246,9 +246,6 @@ def _go_deps(skip_targets): 30 - if "io_bazel_rules_go" not in skip_targets: 31 - external_http_archive( 32 - name = "io_bazel_rules_go", 33 - - # TODO(wrowe, sunjayBhatia): remove when Windows RBE supports batch file invocation 34 - - patch_args = ["-p1"], 35 - - patches = ["@envoy//bazel:rules_go.patch"], 36 - ) 37 - external_http_archive("bazel_gazelle") 38 - 39 - -- 40 - 2.45.1 41 -
+4 -7
pkgs/by-name/en/envoy/0003-nixpkgs-use-system-C-C-toolchains.patch
··· 1 - From 1213bbf5583c6615f719e0acf5f568e08bca5b35 Mon Sep 17 00:00:00 2001 1 + From 3ecb08a7603a07310d1a38c0f47bc54bbe1f11c8 Mon Sep 17 00:00:00 2001 2 2 From: Paul Meyer <49727155+katexochen@users.noreply.github.com> 3 3 Date: Mon, 22 Apr 2024 11:59:22 +0200 4 - Subject: [PATCH 3/3] nixpkgs: use system C/C++ toolchains 4 + Subject: [PATCH] nixpkgs: use system C/C++ toolchains 5 5 6 6 Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com> 7 7 --- ··· 9 9 1 file changed, 5 insertions(+), 1 deletion(-) 10 10 11 11 diff --git a/bazel/dependency_imports.bzl b/bazel/dependency_imports.bzl 12 - index 4e55a129e4..6c2a5f0d82 100644 12 + index addee4f6af..dc1967e43b 100644 13 13 --- a/bazel/dependency_imports.bzl 14 14 +++ b/bazel/dependency_imports.bzl 15 - @@ -24,7 +24,11 @@ JQ_VERSION = "1.7" 15 + @@ -26,7 +26,11 @@ JQ_VERSION = "1.7" 16 16 YQ_VERSION = "4.24.4" 17 17 18 18 def envoy_dependency_imports(go_version = GO_VERSION, jq_version = JQ_VERSION, yq_version = YQ_VERSION): ··· 25 25 go_rules_dependencies() 26 26 go_register_toolchains(go_version) 27 27 if go_version != "host": 28 - -- 29 - 2.45.1 30 -
+5 -5
pkgs/by-name/en/envoy/package.nix
··· 25 25 # However, the version string is more useful for end-users. 26 26 # These are contained in a attrset of their own to make it obvious that 27 27 # people should update both. 28 - version = "1.31.2"; 29 - rev = "cc4a75482810de4b84c301d13deb551bd3147339"; 30 - hash = "sha256-mfQpEGLMJV3UKqcUdbhy6/pP1sWut26zjwN6vDE7LmA="; 28 + version = "1.32.0"; 29 + rev = "86dc7ef91ca15fb4957a74bd599397413fc26a24"; 30 + hash = "sha256-Wcbt62RfaNcTntmPjaAM0cP3LJangm4ht7Q0bzEpu5A="; 31 31 }; 32 32 33 33 # these need to be updated for any changes to fetchAttrs 34 34 depsHash = 35 35 { 36 - x86_64-linux = "sha256-9KXZdSvRfi5mWOSotG//+ljsx64I4bYwzbeQFuCIwDE="; 37 - aarch64-linux = "sha256-knrCfUYUL+bYuHSNrNeX3SwoGDf2rLYNXuukEmj4BjA="; 36 + x86_64-linux = ""; 37 + aarch64-linux = ""; 38 38 } 39 39 .${stdenv.system} or (throw "unsupported system ${stdenv.system}"); 40 40 in
-1
pkgs/top-level/all-packages.nix
··· 24201 24201 24202 24202 envoy = callPackage ../by-name/en/envoy/package.nix { 24203 24203 jdk = openjdk11_headless; 24204 - gn = gn1924; 24205 24204 }; 24206 24205 24207 24206 ergochat = callPackage ../servers/irc/ergochat { };