Use nix to create environment for testing
All checks were successful
NeoVim tests / code-quality (push) Successful in 14m25s

This commit is contained in:
2025-05-19 19:03:24 -06:00
parent 35b6e123ac
commit 81ba1bb96b
10 changed files with 76 additions and 78 deletions

20
shell.nix Normal file
View File

@@ -0,0 +1,20 @@
{
pkgs ?
import
# neovim@0.11.1: https://history.nix-packages.com/package/neovim/0.11.1
(fetchTarball "https://github.com/nixos/nixpkgs/tarball/e73c3bf29132da092f9c819b97b6e214367eb71f")
{ },
}:
pkgs.mkShell {
packages = [
pkgs.git
pkgs.gnumake
pkgs.lua-language-server
pkgs.lua51Packages.busted
pkgs.lua51Packages.luacov
pkgs.lua51Packages.luarocks
pkgs.lua51Packages.nlua
pkgs.neovim
pkgs.stylua
];
}