File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,11 +25,14 @@ class Ipfs < Formula
2525
2626 depends_on "go" => :build
2727
28+ # bump cockroachdb/swiss for Go 1.26 support, upstream pr ref, https://github.com/ipfs/kubo/pull/11124
29+ patch do
30+ url "https://github.com/ipfs/kubo/commit/ecf967de3a0ac32c0e2c4f2391518b64741376df.patch?full_index=1"
31+ sha256 "2ed099b25219f9fde686461e684ff8fbe26fb8ab66b2e6cb213975e84e82dee1"
32+ end
33+
2834 def install
29- ldflags = %W[
30- -s -w
31- -X github.com/ipfs/kubo.CurrentCommit=#{ tap . user }
32- ]
35+ ldflags = "-s -w -X github.com/ipfs/kubo.CurrentCommit=#{ tap . user } "
3336 system "go" , "build" , *std_go_args ( ldflags :) , "./cmd/ipfs"
3437
3538 generate_completions_from_executable ( bin /"ipfs" , "commands" , "completion" )
You can’t perform that action at this time.
0 commit comments