Compare commits
No commits in common. "4a1eb8d3f9c6c9297e50ce77301cba59af846130" and "3139bab32f046e8f43e4c263d05bbc91b4bebbe3" have entirely different histories.
4a1eb8d3f9
...
3139bab32f
1 changed files with 43 additions and 54 deletions
15
flake.nix
15
flake.nix
|
@ -24,19 +24,16 @@
|
|||
packages = with pkgs; [
|
||||
corepack_latest
|
||||
nodejs
|
||||
cargo
|
||||
clippy
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
packages = forSystems (
|
||||
formatter = forSystems (
|
||||
system:
|
||||
let
|
||||
pkgs = pkgs' system;
|
||||
in
|
||||
{
|
||||
fmt = pkgs.treefmt.withConfig {
|
||||
pkgs.treefmt.withConfig {
|
||||
runtimeInputs = with pkgs; [
|
||||
nixfmt-rfc-style
|
||||
nodePackages.prettier
|
||||
|
@ -78,15 +75,7 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
);
|
||||
formatter = forSystems (
|
||||
system:
|
||||
let
|
||||
pkgs = pkgs' system;
|
||||
in
|
||||
self.outputs.packages.${system}.fmt
|
||||
);
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue