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.
| Time to Start | Worker time | Duration | Time to finish | |
| Config | 1s | 7s | 7s | 8s |
| Eval | 7s | 1m24s | 1m24s | 1m32s |
| Build | 29s | 11m56s | 1m22s | 1m51s |
| Test | - | - | - | - |
| Deploy | - | - | - | - |
| Suite | 1s | 13m28s | 1m50s | 1m51s |