Commit b596934b authored by Artturin's avatar Artturin
Browse files

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
parent f0423aa6
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -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 { });