Closed ShamrockLee closed 1 month ago
Specify the default value of perSystem option treefmt as { } (an empty set) in the flake module.
Fix the "option treefmt used but not defined" error when importing the flake module without adding configurations.
The following check using @zarelit's reproducer shows that the errors disappear after applying this change:
nix flake show github:zarelit/repro-treefmt-issue-78 --override-input treefmt-nix github:ShamrockLee/treefmt-nix/fix-flake-module-empty
This pull request closes #78
Cc: @zarelit @zimbatm
thanks!
Specify the default value of perSystem option treefmt as { } (an empty set) in the flake module.
Fix the "option treefmt used but not defined" error when importing the flake module without adding configurations.
The following check using @zarelit's reproducer shows that the errors disappear after applying this change:
This pull request closes #78
Cc: @zarelit @zimbatm