Voxelis/flake.nix
Seven Of Aces 236dd62265
All checks were successful
Error Check / luacheck_errcheck (push) Successful in 40s
Unit Tests / busted_unit_test (push) Successful in 46s
added caching
2024-12-10 16:38:19 -08:00

25 lines
No EOL
631 B
Nix

{
# Tooling file for Nix and NixOS to get a quick start
description = "pending";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
};
outputs = { self, nixpkgs, ...}:
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in {
devShells.x86_64-linux.default = pkgs.mkShell {
buildInputs = [
# Run CI/CD actions locally
pkgs.act
];
shellHook = ''
alias run_workflows='act -W $PWD/.forgejo/workflows -P ubuntu-latest=ghcr.io/catthehacker/ubuntu:act-latest --pull=false'
echo "Run 'run_workflows' to run the workflows locally"
'';
};
};
}