2024-07-27 06:49:29 +00:00
|
|
|
From 1213bbf5583c6615f719e0acf5f568e08bca5b35 Mon Sep 17 00:00:00 2001
|
2024-04-26 17:01:46 +00:00
|
|
|
From: Paul Meyer <49727155+katexochen@users.noreply.github.com>
|
|
|
|
Date: Mon, 22 Apr 2024 11:59:22 +0200
|
2024-07-27 06:49:29 +00:00
|
|
|
Subject: [PATCH 3/3] nixpkgs: use system C/C++ toolchains
|
2023-10-19 13:55:26 +00:00
|
|
|
|
2024-04-26 17:01:46 +00:00
|
|
|
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
|
2023-10-19 13:55:26 +00:00
|
|
|
---
|
|
|
|
bazel/dependency_imports.bzl | 6 +++++-
|
|
|
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/bazel/dependency_imports.bzl b/bazel/dependency_imports.bzl
|
2024-07-27 06:49:29 +00:00
|
|
|
index 4e55a129e4..6c2a5f0d82 100644
|
2023-10-19 13:55:26 +00:00
|
|
|
--- a/bazel/dependency_imports.bzl
|
|
|
|
+++ b/bazel/dependency_imports.bzl
|
2024-07-27 06:49:29 +00:00
|
|
|
@@ -24,7 +24,11 @@ JQ_VERSION = "1.7"
|
2023-10-19 13:55:26 +00:00
|
|
|
YQ_VERSION = "4.24.4"
|
|
|
|
|
|
|
|
def envoy_dependency_imports(go_version = GO_VERSION, jq_version = JQ_VERSION, yq_version = YQ_VERSION):
|
|
|
|
- rules_foreign_cc_dependencies()
|
|
|
|
+ rules_foreign_cc_dependencies(
|
|
|
|
+ register_default_tools=False, # no prebuilt toolchains
|
2024-04-26 17:01:46 +00:00
|
|
|
+ register_built_tools=False, # nor from source
|
|
|
|
+ register_preinstalled_tools=True, # use host tools (default)
|
2023-10-19 13:55:26 +00:00
|
|
|
+ )
|
|
|
|
go_rules_dependencies()
|
|
|
|
go_register_toolchains(go_version)
|
2024-04-26 17:01:46 +00:00
|
|
|
if go_version != "host":
|
2023-10-19 13:55:26 +00:00
|
|
|
--
|
2024-07-27 06:49:29 +00:00
|
|
|
2.45.1
|
2023-10-19 13:55:26 +00:00
|
|
|
|