all repos — searchix @ 03ebead32af418c6637d2235b1cb9ad5c06e2952

Search engine for NixOS, nix-darwin, home-manager and NUR users

chore: set up treefmt-nix and reformat

Alan Pearce
commit

03ebead32af418c6637d2235b1cb9ad5c06e2952

parent

8d2d0bc911591eff2f35b2d3c0eacee06793d4f3

1 file changed, 19 insertions(+), 15 deletions(-)

changed files
M nix/dev-shell.nixnix/dev-shell.nix
@@ -1,23 +1,27 @@
-{ pre-commit-check -, mkGoEnv -, gomod2nix -, mkShell -, pkgs +{ + pre-commit-check, + mkGoEnv, + gomod2nix, + mkShell, + pkgs, }: let goEnv = mkGoEnv { pwd = ../.; }; in mkShell { - packages = with pkgs; [ - goEnv + packages = + with pkgs; + [ + goEnv - sd - modd - brotli - bleve - wgo - gomod2nix - nixpkgs-lint - ] ++ pre-commit-check.enabledPackages; + sd + modd + brotli + bleve + wgo + gomod2nix + nixpkgs-lint + ] + ++ pre-commit-check.enabledPackages; inherit (pre-commit-check) shellHook; }