1{ lua
2, makeSetupHook
3, makeWrapper
4}:
5
6# defined in trivial-builders
7# imported as wrapLua in lua-packages.nix and passed to build-lua-derivation to be used as buildInput
8makeSetupHook {
9 name = "wrap-lua-hook";
10 propagatedBuildInputs = [ makeWrapper ];
11 substitutions.executable = lua.interpreter;
12 substitutions.lua = lua;
13} ./wrap.sh