blob: 1b9409ff948e7d3d97f73cc6464ae0f6aa52a5b0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
{ 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
|