4ef4d57f

Test refactoring: factor out `macli` tests to nix/checks/macli.nix

Prior to this change, the check derivations were defined in nix/checks.nix but the actual tests
depended on functions and lambdas defined in flake.nix.

This change makes the `macli` checks more self-contained and moves them to nix/checks/macli.nix.
Common Nix code that is used in flake.nix and macli.nix has been moved to nix/common.nix.

Suite timing

Time to Start Worker time Duration Time to finish
Config 1s 7s 7s 8s
Eval 7s 1m24s 1m24s 1m32s
Build 29s 11m56s 1m22s 1m51s
Suite 1s 13m28s 1m50s 1m51s

Timeline

0s10s20s30s40s50s1m1m10s1m20s1m30s1m40s1m50s