mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
14 lines
342 B
Nix
14 lines
342 B
Nix
{ 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
|