Skip to content

Commit 37b29e8

Browse files
BrewTestBotchenrui333
authored andcommitted
coder 2.21.3
coder: add purego patch Signed-off-by: Rui Chen <[email protected]>
1 parent aee1bd0 commit 37b29e8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Formula/c/coder.rb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Coder < Formula
22
desc "Tool for provisioning self-hosted development environments with Terraform"
33
homepage "https://coder.com"
4-
url "https://github.com/coder/coder/archive/refs/tags/v2.20.3.tar.gz"
5-
sha256 "d1175b481da69996b8c09d37f9e258b4e4d938a750ed7fbc004717fa4b87309f"
4+
url "https://github.com/coder/coder/archive/refs/tags/v2.21.3.tar.gz"
5+
sha256 "8c4c27c02a7b0088f5194a1eba7e6be4cb61fb244e1926d4bb54eb6ab9fc1996"
66
license "AGPL-3.0-only"
77
head "https://github.com/coder/coder.git", branch: "main"
88

@@ -26,6 +26,12 @@ class Coder < Formula
2626

2727
depends_on "go" => :build
2828

29+
# purego build patch, upstream pr ref, https://github.com/coder/coder/pull/18021
30+
patch do
31+
url "https://github.com/coder/coder/commit/e3915cb199a05a21a6dd17b525068a6cb5949d65.patch?full_index=1"
32+
sha256 "ec0f27618f69d867ecc04c8eae648eca188e4db5b1d27e1d6bcc1bde64383cdf"
33+
end
34+
2935
def install
3036
ldflags = %W[
3137
-s -w

0 commit comments

Comments
 (0)