2021-05-10 13:23:30 +00:00
|
|
|
{ pkgs ? import <nixpkgs> { } }:
|
|
|
|
|
|
|
|
let lua = pkgs.callPackage ./nix/lua.nix { };
|
|
|
|
|
|
|
|
in pkgs.mkShell {
|
|
|
|
buildInputs = with pkgs;
|
|
|
|
with lua53Packages; [
|
|
|
|
luarocks-nix
|
|
|
|
lua
|
|
|
|
busted
|
|
|
|
moonscript
|
|
|
|
];
|
2021-05-10 14:13:42 +00:00
|
|
|
|
|
|
|
shellHook = ''
|
|
|
|
LUA_PATH="$LUA_PATH;./?.lua;./?/init.lua"
|
|
|
|
'';
|
2021-05-10 13:23:30 +00:00
|
|
|
}
|