nixpkgs/pkgs/development/interpreters/lua-5/wrap-lua.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
347 B
Nix
Raw Normal View History

{
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 {
2023-01-18 16:29:22 +00:00
name = "wrap-lua-hook";
propagatedBuildInputs = [ makeWrapper ];
substitutions.executable = lua.interpreter;
substitutions.lua = lua;
} ./wrap.sh