diff options
| author | seth <[email protected]> | 2024-07-04 15:55:29 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-07-04 16:11:35 -0400 |
| commit | 3231025b71b827be26daaf3f082b0be48ab66c2e (patch) | |
| tree | 152ac0a23982032a77047571c34aeaef7608a931 /shell.nix | |
| parent | 098ff8c13c5b144079917f9da81cf6503056872b (diff) | |
nix: alejandra -> nixfmt-rfc-style
Diffstat (limited to 'shell.nix')
| -rw-r--r-- | shell.nix | 41 |
1 files changed, 20 insertions, 21 deletions
@@ -3,25 +3,24 @@ let fetchTree = import ./nix/fetchTree.nix; flakeSources = builtins.mapAttrs (_: node: fetchTree node.locked) lock.nodes; in - { - pkgs ? - import sources.nixpkgs { - inherit system; - config = {}; - overlays = []; - }, - system ? builtins.currentSystem, - sources ? flakeSources, - formatter ? pkgs.alejandra, - }: - pkgs.mkShellNoCC { - packages = [ - pkgs.zola +{ + pkgs ? import sources.nixpkgs { + inherit system; + config = { }; + overlays = [ ]; + }, + system ? builtins.currentSystem, + sources ? flakeSources, + formatter ? pkgs.nixfmt-rfc-style, +}: +pkgs.mkShellNoCC { + packages = [ + pkgs.zola - # linters + formatters - formatter - pkgs.actionlint - pkgs.nodePackages.alex - pkgs.nodePackages.prettier - ]; - } + # linters + formatters + formatter + pkgs.actionlint + pkgs.nodePackages.alex + pkgs.nodePackages.prettier + ]; +} |
