shells/lua: init devshell

This commit is contained in:
Gabriel Arazas 2022-09-25 15:25:27 +08:00
parent 72d3ee9f82
commit c130459288
2 changed files with 14 additions and 0 deletions

View File

@ -10,6 +10,8 @@ with pkgs; {
gtk3 = callPackage ./gtk.nix { gtk = gtk3; libportal-gtk = libportal-gtk3; }; gtk3 = callPackage ./gtk.nix { gtk = gtk3; libportal-gtk = libportal-gtk3; };
gtk4 = callPackage ./gtk.nix { gtk = gtk4; wrapGAppsHook = wrapGAppsHook4; libportal-gtk = libportal-gtk4; }; gtk4 = callPackage ./gtk.nix { gtk = gtk4; wrapGAppsHook = wrapGAppsHook4; libportal-gtk = libportal-gtk4; };
hugo = callPackage ./hugo.nix { }; hugo = callPackage ./hugo.nix { };
lua_5_2 = callPackage ./lua.nix { lua = lua52Packages.lua; };
lua_5_3 = callPackage ./lua.nix { lua = lua53Packages.lua; };
rust = callPackage ./rust.nix { }; rust = callPackage ./rust.nix { };
tic-80 = callPackage ./tic-80.nix { }; tic-80 = callPackage ./tic-80.nix { };
} }

12
shells/lua.nix Normal file
View File

@ -0,0 +1,12 @@
# It is much more recommended to create a project-specific development
# environment for Lua projects instead.
{ mkShell, lua, luarocks, stylua, sumneko-lua-language-server }:
mkShell {
packages = [
lua
luarocks
stylua
sumneko-lua-language-server
];
}