2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, lua
|
|
|
|
, makeSetupHook
|
|
|
|
, makeWrapper
|
|
|
|
}:
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
# defined in trivial-builders
|
2020-04-24 23:36:52 +00:00
|
|
|
# imported as wrapLua in lua-packages.nix and passed to build-lua-derivation to be used as buildInput
|
|
|
|
makeSetupHook {
|
2023-02-02 18:25:31 +00:00
|
|
|
name = "wrap-lua-hook";
|
2023-03-04 12:14:45 +00:00
|
|
|
propagatedBuildInputs = [ makeWrapper ];
|
2021-09-18 10:52:07 +00:00
|
|
|
substitutions.executable = lua.interpreter;
|
|
|
|
substitutions.lua = lua;
|
2020-04-24 23:36:52 +00:00
|
|
|
} ./wrap.sh
|