at 24.05-pre 511 B view raw
1{ lib 2, lua 3, makeSetupHook 4, makeWrapper 5}: 6 7# defined in trivial-builders 8# imported as wrapLua in lua-packages.nix and passed to build-lua-derivation to be used as buildInput 9makeSetupHook { 10 name = "wrap-lua-hook"; 11 propagatedBuildInputs = [ makeWrapper ]; 12 substitutions.executable = lua.interpreter; 13 substitutions.lua = lua; 14 substitutions.LuaPathSearchPaths = lib.escapeShellArgs lua.LuaPathSearchPaths; 15 substitutions.LuaCPathSearchPaths = lib.escapeShellArgs lua.LuaPathSearchPaths; 16} ./wrap.sh