Skip to content

Commit a2cef01

Browse files
committed
infisical: disable CGO on Linux Arm
Signed-off-by: botantony <[email protected]>
1 parent f6fb33d commit a2cef01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Formula/i/infisical.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ class Infisical < Formula
1717
depends_on "go" => :build
1818

1919
def install
20+
ENV["CGO_ENABLED"] = "0" if OS.linux? && Hardware::CPU.arm?
21+
2022
ldflags = %W[
2123
-s -w
2224
-X github.com/Infisical/infisical-merge/packages/util.CLI_VERSION=#{version}

0 commit comments

Comments
 (0)