We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44b9d5d commit 6da9551Copy full SHA for 6da9551
1 file changed
flake.nix
@@ -64,18 +64,16 @@
64
default = import ./shell.nix {inherit (mkPkgs system) pkgs;};
65
});
66
67
- formatter = eachSystem (system:
68
- (import ./formatter.nix {
69
- inherit self;
70
- pkgs = mkPkgs system;
71
- }).formatter);
+ formatter = eachSystem (system: let
+ formatter = import ./formatter.nix { inherit self; pkgs = mkPkgs system; };
+ in {
+ default = formatter.formatter;
+ });
72
73
- checks = eachSystem (system: {
74
- formatting =
75
76
77
78
- }).check;
+ checks = eachSystem (system: let
+ formatting = formatter.check;
79
80
};
81
}
0 commit comments