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