Skip to content

Commit 72135b7

Browse files
committed
fix: make kubo work with go 1.26
1 parent b80342f commit 72135b7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/kubo/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ termux_step_make() {
2222
cp -a "${TERMUX_PKG_SRCDIR}" "${GOPATH}/src/github.com/ipfs/kubo"
2323
cd "${GOPATH}/src/github.com/ipfs/kubo"
2424

25+
# TODO: remove this once the upstream packae is updated to suport go 1.26
26+
go mod edit -replace github.com/cockroachdb/swiss=github.com/cockroachdb/swiss@b0f6560
27+
go mod tidy
28+
go mod vendor
2529
make build
2630

2731
# Fix folders without write permissions preventing which fails repeating builds:

0 commit comments

Comments
 (0)