Merge pull request #68258 from teto/luarocks-nix_bump

Moved luarocks-nix to community and leverage luarocks mirrors when possible.
This commit is contained in:
Matthieu Coudron
2019-09-09 12:41:54 +09:00
committed by GitHub
5 changed files with 17 additions and 31 deletions
+4
View File
@@ -0,0 +1,4 @@
rocks_servers = {
"https://luarocks.org"
}
version_check_on_fail = false
@@ -15,6 +15,7 @@ CSV_FILE="maintainers/scripts/luarocks-packages.csv"
TMP_FILE="$(mktemp)"
# Set in the update-luarocks-shell.nix
NIXPKGS_PATH="$LUAROCKS_NIXPKGS_PATH"
export LUAROCKS_CONFIG="$NIXPKGS_PATH/maintainers/scripts/luarocks-config.lua"
# 10 is a pretty arbitrary number of simultaneous jobs, but it is generally
# impolite to hit a webserver with *too* many simultaneous connections :)