1{
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} ./wrap.sh