cloudflared: fix cross compilation (#359897)

This commit is contained in:
Colin 2024-11-29 14:57:52 +00:00 committed by GitHub
commit 1170690e24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2148,7 +2148,7 @@ with pkgs;
cloudflared = callPackage ../applications/networking/cloudflared { cloudflared = callPackage ../applications/networking/cloudflared {
# https://github.com/cloudflare/cloudflared/issues/1151#issuecomment-1888819250 # https://github.com/cloudflare/cloudflared/issues/1151#issuecomment-1888819250
buildGoModule = buildGoModule.override { buildGoModule = buildGoModule.override {
go = go_1_22.overrideAttrs { go = buildPackages.go_1_22.overrideAttrs {
pname = "cloudflare-go"; pname = "cloudflare-go";
version = "1.22.2-devel-cf"; version = "1.22.2-devel-cf";
src = fetchFromGitHub { src = fetchFromGitHub {