From b596934b7a058e940fd1eb34d9c94472cd134d16 Mon Sep 17 00:00:00 2001 From: Artturin Date: Mon, 19 Jan 2026 01:21:18 +0200 Subject: [PATCH] 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 --- pkgs/top-level/lua-packages.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix index bc5b3bb649ae..e2a42938108b 100644 --- a/pkgs/top-level/lua-packages.nix +++ b/pkgs/top-level/lua-packages.nix @@ -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 { });