added lua tools to flake

This commit is contained in:
Mrrp 2024-12-10 16:51:04 -08:00
parent 236dd62265
commit 224e58577f

View file

@ -1,5 +1,6 @@
{ {
# Tooling file for Nix and NixOS to get a quick start # Tooling file for Nix and NixOS to get a quick start
# Run 'nix develop' to enter the development shell
description = "pending"; description = "pending";
inputs = { inputs = {
@ -15,6 +16,11 @@
buildInputs = [ buildInputs = [
# Run CI/CD actions locally # Run CI/CD actions locally
pkgs.act pkgs.act
# Lua 5.1 development tools
lua51Packages.lua
lua51Packages.luarocks
lua51Packages.busted
lua51Packages.luacheck
]; ];
shellHook = '' shellHook = ''
alias run_workflows='act -W $PWD/.forgejo/workflows -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest --pull=false' alias run_workflows='act -W $PWD/.forgejo/workflows -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest --pull=false'