mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
shells/lua: init devshell
This commit is contained in:
parent
72d3ee9f82
commit
c130459288
@ -10,6 +10,8 @@ with pkgs; {
|
||||
gtk3 = callPackage ./gtk.nix { gtk = gtk3; libportal-gtk = libportal-gtk3; };
|
||||
gtk4 = callPackage ./gtk.nix { gtk = gtk4; wrapGAppsHook = wrapGAppsHook4; libportal-gtk = libportal-gtk4; };
|
||||
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 { };
|
||||
tic-80 = callPackage ./tic-80.nix { };
|
||||
}
|
||||
|
12
shells/lua.nix
Normal file
12
shells/lua.nix
Normal 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
|
||||
];
|
||||
}
|
Loading…
Reference in New Issue
Block a user