Skip to content

Commit 3f13041

Browse files
committed
fix luarocks error
1 parent e268ed8 commit 3f13041

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/install-common.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ install_apisix() {
9090
install_rust
9191

9292
# build the lib and specify the storage path of the package installed
93-
luarocks make ./apisix-master-${iteration}.rockspec --tree=/tmp/build/output/apisix/usr/local/apisix/deps --local
93+
# To be removed after https://github.com/luarocks/luarocks/issues/1797 is fixed
94+
luarocks --only-server https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/daab2726276e3282dc347b89a42a5107c3500567 make ./apisix-master-${iteration}.rockspec --tree=/tmp/build/output/apisix/usr/local/apisix/deps --local
9495
chown -R "$(whoami)":"$(whoami)" /tmp/build/output
9596
cd ..
9697
# copy the compiled files to the package install directory

0 commit comments

Comments
 (0)