about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2019-09-07 19:59:23 +0900
committerMatthieu Coudron <mattator@gmail.com>2019-09-07 19:59:23 +0900
commit4d526d6fc63c0316c135435c7f4d6074c9bce09a (patch)
treefe82539f8b0e7c31cfecf72033a462ddb5bfe515 /pkgs
parent89c3c1cb4284e4712b8509349620a0cd07c39bce (diff)
downloadnixlib-4d526d6fc63c0316c135435c7f4d6074c9bce09a.tar
nixlib-4d526d6fc63c0316c135435c7f4d6074c9bce09a.tar.gz
nixlib-4d526d6fc63c0316c135435c7f4d6074c9bce09a.tar.bz2
nixlib-4d526d6fc63c0316c135435c7f4d6074c9bce09a.tar.lz
nixlib-4d526d6fc63c0316c135435c7f4d6074c9bce09a.tar.xz
nixlib-4d526d6fc63c0316c135435c7f4d6074c9bce09a.tar.zst
nixlib-4d526d6fc63c0316c135435c7f4d6074c9bce09a.zip
fetchurl: add luarocks mirrors
luarocks defines by default the following mirrors:
https://github.com/luarocks/luarocks/blob/83093e7da7f789f0f7d3a6784597cbbed09c73e0/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.
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/build-support/fetchurl/mirrors.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/build-support/fetchurl/mirrors.nix b/pkgs/build-support/fetchurl/mirrors.nix
index ec7d289996b3..c0e115bca280 100644
--- a/pkgs/build-support/fetchurl/mirrors.nix
+++ b/pkgs/build-support/fetchurl/mirrors.nix
@@ -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/