nixpkgs/pkgs/servers/http/envoy/0002-nixpkgs-use-system-Go.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

42 lines
1.4 KiB
Diff
Raw Normal View History

From 0ecb8b5bc194fecb10c523d5856dc0b4cb78f6e4 Mon Sep 17 00:00:00 2001
From: Paul Meyer <49727155+katexochen@users.noreply.github.com>
Date: Mon, 22 Apr 2024 11:58:00 +0200
Subject: [PATCH 2/4] nixpkgs: use system Go
2023-02-19 18:56:55 +00:00
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
2023-02-19 18:56:55 +00:00
---
bazel/dependency_imports.bzl | 2 +-
bazel/repositories.bzl | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
2023-02-19 18:56:55 +00:00
diff --git a/bazel/dependency_imports.bzl b/bazel/dependency_imports.bzl
index 0e29abb8d0..df19c84755 100644
2023-02-19 18:56:55 +00:00
--- a/bazel/dependency_imports.bzl
+++ b/bazel/dependency_imports.bzl
@@ -19,7 +19,7 @@ load("@rules_rust//rust:repositories.bzl", "rules_rust_dependencies", "rust_regi
load("@upb//bazel:workspace_deps.bzl", "upb_deps")
2023-02-19 18:56:55 +00:00
# go version for rules_go
-GO_VERSION = "1.20"
2023-02-19 18:56:55 +00:00
+GO_VERSION = "host"
JQ_VERSION = "1.7"
2023-02-19 18:56:55 +00:00
YQ_VERSION = "4.24.4"
diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl
index d91aa712bd..6623972286 100644
2023-02-19 18:56:55 +00:00
--- a/bazel/repositories.bzl
+++ b/bazel/repositories.bzl
@@ -246,9 +246,6 @@ def _go_deps(skip_targets):
2023-02-19 18:56:55 +00:00
if "io_bazel_rules_go" not in skip_targets:
external_http_archive(
name = "io_bazel_rules_go",
- # TODO(wrowe, sunjayBhatia): remove when Windows RBE supports batch file invocation
- patch_args = ["-p1"],
- patches = ["@envoy//bazel:rules_go.patch"],
)
external_http_archive("bazel_gazelle")
--
2.44.0
2023-02-19 18:56:55 +00:00