fetchurl: add luarocks mirrors

luarocks defines by default the following mirrors:
83093e7da7/src/luarocks/core/cfg.lua (L205)

Let's add them to nixpkgs. I have modified luarocks-nix to generate the
proper nixpkgs urls.
I bump luarocks-nix in the following commits.
This commit is contained in:
Matthieu Coudron 2019-09-07 19:59:23 +09:00
parent 89c3c1cb42
commit 4d526d6fc6

View file

@ -8,6 +8,13 @@
# Mirrors for mirror://site/filename URIs, where "site" is
# "sourceforge", "gnu", etc.
luarocks = [
https://luarocks.org
https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/
http://luafr.org/moonrocks
http://luarocks.logiceditor.com/rocks
];
# SourceForge.
sourceforge = [
https://downloads.sourceforge.net/