Namaka - Snapshot testing for Nix

namaka v0.2.0 has been released with support for configuration and some quality of life changes!

Breaking Changes

  • namaka review now runs nix eval .#checks by default instead of nix flake check. You can override this behavior by editing namaka.toml or using the --cmd flag.
  • When provided a directory, namaka now changes the working directory to it, instead of modifying the nix commands it runs. This can make a difference if you specify both the directory and --cmd.

Features

  • Local configuration with namaka.toml
  • namaka clean to remove unused and pending snapshots
  • Add subflake template for using namaka in a subflake

Improvements

  • namaka review now runs faster by default, since the default command has been changed to nix eval .#checks.