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:
parent
2be2bef644
commit
d128d47318
|
@ -2,6 +2,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, lua
|
, lua
|
||||||
, wrapLua
|
, wrapLua
|
||||||
|
, luarocks
|
||||||
|
|
||||||
# Whether the derivation provides a lua module or not.
|
# Whether the derivation provides a lua module or not.
|
||||||
, luarocksCheckHook
|
, luarocksCheckHook
|
||||||
|
@ -89,7 +90,7 @@ let
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
wrapLua
|
wrapLua
|
||||||
lua.pkgs.luarocks
|
luarocks
|
||||||
];
|
];
|
||||||
|
|
||||||
inherit doCheck extraVariables rockspecFilename knownRockspec externalDeps nativeCheckInputs;
|
inherit doCheck extraVariables rockspecFilename knownRockspec externalDeps nativeCheckInputs;
|
||||||
|
|
Loading…
Reference in a new issue