mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 11:34:13 +00:00
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
|
||||
, 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;
|
||||
|
Loading…
Reference in New Issue
Block a user