mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-18 02:28:40 +00:00
update-luarocks: contact only the specified server
use --server-only instead of --server, I haven't run any testing but it should be a bit faster as well as more deterministic.
This commit is contained in:
parent
cf45c7857a
commit
e967121053
@ -78,6 +78,7 @@ function convert_pkg () {
|
||||
lua_pkg_name="$2"
|
||||
server="${3:+--server=$3}"
|
||||
version="${4:-}"
|
||||
server="${3:+--only-server=$3}"
|
||||
|
||||
echo "looking at $lua_pkg_name (version $version) from server [$server]" >&2
|
||||
cmd="luarocks nix $server $lua_pkg_name $version"
|
||||
|
Loading…
Reference in New Issue
Block a user