buildLuaPackage: fix cross

buildLuaPackage accesses lua.pkgs.luarocks, which became unspliced
at some point.  Let's use callPackage to get it, so we can be sure
it will be spliced.
This commit is contained in:
Adam Joseph
2023-05-09 14:09:35 -07:00
parent 2be2bef644
commit d128d47318
@@ -2,6 +2,7 @@
{ lib
, lua
, wrapLua
, luarocks
# Whether the derivation provides a lua module or not.
, luarocksCheckHook
@@ -89,7 +90,7 @@ let
nativeBuildInputs = [
wrapLua
lua.pkgs.luarocks
luarocks
];
inherit doCheck extraVariables rockspecFilename knownRockspec externalDeps nativeCheckInputs;