5c370c0b2a
GitOrigin-RevId: 33d1e753c82ffc557b4a585c77de43d4c922ebb5
14 lines
348 B
Nix
14 lines
348 B
Nix
{ lib
|
|
, 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
|