about summary refs log tree commit diff stats
path: root/nix/dev-shell.nix
blob: 7d21e9de89a546501f6a1d1c73dcdfb4c0758b8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ pre-commit-check
, mkGoEnv
, gomod2nix
, mkShell
, pkgs
}:
let
  goEnv = mkGoEnv { pwd = ../.; };
in
mkShell {
  packages = with pkgs;  [
    goEnv

    sd
    templ
    modd
    brotli
    bleve
    wgo
    gomod2nix
    nixpkgs-lint
  ] ++ pre-commit-check.enabledPackages;
  inherit (pre-commit-check) shellHook;
}