From 47e6b72e606d412252f9e0f3ad4b0a39b79950f6 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Fri, 14 Jul 2023 09:58:48 +0800 Subject: [PATCH] rosenthal: cloudflared: Update to 2023.7.0. * rosenthal/packages/networking.scm (cloudflared): Update to 2023.7.0. [arguments]<#:phases>: Add 'disable-cgo. --- rosenthal/packages/networking.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/rosenthal/packages/networking.scm b/rosenthal/packages/networking.scm index 9aae62d..2dd8c37 100644 --- a/rosenthal/packages/networking.scm +++ b/rosenthal/packages/networking.scm @@ -15,7 +15,7 @@ (define-public cloudflared (package (name "cloudflared") - (version "2023.6.1") + (version "2023.7.0") (source (origin (method git-fetch) (uri (git-reference @@ -27,7 +27,7 @@ ;; (snippet '(delete-file-recursively "vendor")) (sha256 (base32 - "19hax7lmikgz55qz6f7ydzfy07q2wjgspgnq24xgq4fnkjvqia36")))) + "0s83r08ghlc9m9g6pc1p5w1rm5zjz8w1pd8bhp7ids1m799clhpw")))) (build-system go-build-system) (arguments (list #:go go-1.19 @@ -41,6 +41,9 @@ " -X github.com/cloudflare/cloudflared/cmd/cloudflared/updater.BuiltForPackageManager=Guix")) #:phases #~(modify-phases %standard-phases + (add-before 'build 'disable-cgo + (lambda _ + (setenv "CGO_ENABLED" "0"))) (add-after 'install 'install-documentation (lambda _ (let ((src "src/github.com/cloudflare/cloudflared/cloudflared_man_template")