luaPackages.wrapLua: Fix the wrapper on cross

The wrapper was using a makeWrapper targeting the buildPlatform

This is a leftover from a fix I did before I converted luaPackages to
use makeScopeWithSplicing

Fixes: https://www.github.com/NixOS/nixpkgs/issues/481454
This commit is contained in:
Artturin
2026-01-19 01:24:22 +02:00
parent f0423aa636
commit b596934b7a
+1 -3
View File
@@ -65,9 +65,7 @@ rec {
;
# wraps programs in $out/bin with valid LUA_PATH/LUA_CPATH
wrapLua = callPackage ../development/interpreters/lua-5/wrap-lua.nix {
inherit (pkgs.buildPackages) makeSetupHook makeWrapper;
};
wrapLua = callPackage ../development/interpreters/lua-5/wrap-lua.nix { };
luarocks_bootstrap = toLuaModule (callPackage ../development/tools/misc/luarocks/default.nix { });