diff options
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 + ]; +} |
