Enhanced eachSystem and made treefmteval global #17

Merged
xfeusw merged 1 commit from enhance/nix into main 2026-08-20 07:44:08 +00:00
xfeusw commented 2026-08-18 06:02:14 +00:00 (Migrated from github.com)

Refactor eachSystem to nix-systems pattern; hoist treefmtEval

eachSystem now yields pkgs directly (via nix-systems/default) instead of a bare system string, removing per-callsite pkgs = nixpkgs.legacyPackages.${system} boilerplate. treefmtEval is evaluated once at the top level and shared across formatter, checks, and devShells.

## Refactor `eachSystem` to nix-systems pattern; hoist `treefmtEval` `eachSystem` now yields `pkgs` directly (via `nix-systems/default`) instead of a bare `system` string, removing per-callsite `pkgs = nixpkgs.legacyPackages.${system}` boilerplate. `treefmtEval` is evaluated once at the top level and shared across `formatter`, `checks`, and `devShells`.
lambdajon (Migrated from github.com) approved these changes 2026-08-20 07:44:02 +00:00
Sign in to join this conversation.
No description provided.