summaryrefslogtreecommitdiff
path: root/shell.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-07-04 15:55:29 -0400
committerseth <[email protected]>2024-07-04 16:11:35 -0400
commit3231025b71b827be26daaf3f082b0be48ab66c2e (patch)
tree152ac0a23982032a77047571c34aeaef7608a931 /shell.nix
parent098ff8c13c5b144079917f9da81cf6503056872b (diff)
nix: alejandra -> nixfmt-rfc-style
Diffstat (limited to 'shell.nix')
-rw-r--r--shell.nix41
1 files changed, 20 insertions, 21 deletions
diff --git a/shell.nix b/shell.nix
index 1ba11b5..61095bb 100644
--- a/shell.nix
+++ b/shell.nix
@@ -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
+ ];
+}