diff --git a/pkgs/development/interpreters/lua-5/build-lua-package.nix b/pkgs/development/interpreters/lua-5/build-lua-package.nix index eeca9b11ad0..3b49b60ca5d 100644 --- a/pkgs/development/interpreters/lua-5/build-lua-package.nix +++ b/pkgs/development/interpreters/lua-5/build-lua-package.nix @@ -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;