about summary refs log tree commit diff
path: root/maintainers/scripts/update-luarocks-packages
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2019-09-07 19:55:30 +0900
committerMatthieu Coudron <mattator@gmail.com>2019-09-07 19:59:09 +0900
commit89c3c1cb4284e4712b8509349620a0cd07c39bce (patch)
treee70afa442291b1e1104256c441238fb7806fb145 /maintainers/scripts/update-luarocks-packages
parentdb1f05c763fd96c24d08e0b89497f251eb2cdf03 (diff)
update-luarocks-packages: reference only 1 server
we now pass a configuration file when calling luarocks to prevent
impurities.
Diffstat (limited to 'maintainers/scripts/update-luarocks-packages')
-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 a8d67d208e387..1a31d71086fa9 100755
--- a/maintainers/scripts/update-luarocks-packages
+++ b/maintainers/scripts/update-luarocks-packages
@@ -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 :)