···11+/*
22+This is a minimal/manual luarocks derivation used by `buildLuarocksPackage` to install lua packages.
33+44+As a nix user, you should use the generated lua.pkgs.luarocks that contains a luarocks manifest
55+which makes it recognizable to luarocks.
66+Generating the manifest for luarocks_bootstrap seemed too hackish, which is why we end up
77+with two "luarocks" derivations.
88+99+*/
110{ lib
211, stdenv
312, fetchFromGitHub
+1-1
pkgs/top-level/lua-packages.nix
···5454 inherit (pkgs.buildPackages) makeSetupHook makeWrapper;
5555 };
56565757- luarocks = toLuaModule (callPackage ../development/tools/misc/luarocks/default.nix { });
5757+ luarocks_bootstrap = toLuaModule (callPackage ../development/tools/misc/luarocks/default.nix { });
58585959 # a fork of luarocks used to generate nix lua derivations from rockspecs
6060 luarocks-nix = toLuaModule (callPackage ../development/tools/misc/luarocks/luarocks-nix.nix { });