Skip to content

Commit 746ffd9

Browse files
committed
fix: make usql work with go 1.26
1 parent 8a785e2 commit 746ffd9

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

packages/usql/build.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="A universal command-line interface for SQL databases"
33
TERMUX_PKG_LICENSE="MIT"
44
TERMUX_PKG_MAINTAINER="@flipee"
55
TERMUX_PKG_VERSION="0.20.8"
6+
TERMUX_PKG_REVISION=1
67
TERMUX_PKG_SRCURL=https://github.com/xo/usql/archive/refs/tags/v$TERMUX_PKG_VERSION.tar.gz
78
TERMUX_PKG_SHA256=71c25971a7ab8558a34d106eb60bf9d06acdfd8b5e6417062748821005aac1a7
89
TERMUX_PKG_AUTO_UPDATE=true
@@ -16,6 +17,9 @@ termux_step_make() {
1617
tags="$tags no_netezza no_chai"
1718
fi
1819

20+
# TODO: remove this once the upstream package is updated to suport go 1.26
21+
go mod edit -replace github.com/cockroachdb/swiss=github.com/cockroachdb/swiss@b0f6560
22+
go mod tidy
1923
go build \
2024
-trimpath \
2125
-tags="$tags" \

0 commit comments

Comments
 (0)