about summary refs log tree commit diff
path: root/maintainers
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2019-06-04 18:43:28 +0900
committerMatthieu Coudron <mattator@gmail.com>2019-06-04 18:57:42 +0900
commite96712105379c375e0fc4c33d5c7340d71a695fd (patch)
treeb802b387e4e7fdb2f2d74e513e514a801ba815cf /maintainers
parentcf45c7857ad71363eede99c245e97f7204a8d519 (diff)
downloadnixlib-e96712105379c375e0fc4c33d5c7340d71a695fd.tar
nixlib-e96712105379c375e0fc4c33d5c7340d71a695fd.tar.gz
nixlib-e96712105379c375e0fc4c33d5c7340d71a695fd.tar.bz2
nixlib-e96712105379c375e0fc4c33d5c7340d71a695fd.tar.lz
nixlib-e96712105379c375e0fc4c33d5c7340d71a695fd.tar.xz
nixlib-e96712105379c375e0fc4c33d5c7340d71a695fd.tar.zst
nixlib-e96712105379c375e0fc4c33d5c7340d71a695fd.zip
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.
Diffstat (limited to 'maintainers')
-rwxr-xr-xmaintainers/scripts/update-luarocks-packages1
1 files changed, 1 insertions, 0 deletions
diff --git a/maintainers/scripts/update-luarocks-packages b/maintainers/scripts/update-luarocks-packages
index f4b8eeac3d89..8f00a5a2f9c4 100755
--- a/maintainers/scripts/update-luarocks-packages
+++ b/maintainers/scripts/update-luarocks-packages
@@ -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"