From 7e8433de720b84c1e9edb1fa1f9cfc64c7aa5555 Mon Sep 17 00:00:00 2001 From: "Vlad A. Ionescu" <446771+vladaionescu@users.noreply.github.com> Date: Wed, 9 Nov 2022 19:04:33 -0800 Subject: [PATCH] Fix CGO_ENABLED should be 0 Fixes https://github.com/earthly/earthly/issues/2247 --- Formula/earthly.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Formula/earthly.rb b/Formula/earthly.rb index a0eee2c..7bd7636 100644 --- a/Formula/earthly.rb +++ b/Formula/earthly.rb @@ -19,6 +19,7 @@ class Earthly < Formula depends_on "go@1.19" => :build def install + ENV["CGO_ENABLED"] = "0" # the earthly_gitsha variable is required by the earthly release script, moving this value it into # the ldflags string will break the upstream release process. earthly_gitsha = "7e4f1df4c124db1644d51d312b19313217cbe478"