all repos — searchix @ e763b363b499b8e90d0c80d8b658b64ad3a12b6c

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

nix/dev-shell.nix (view raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{
  pre-commit-check,
  mkGoEnv,
  gomod2nix,
  mkShell,
  pkgs,
}:
let
  goEnv = mkGoEnv { pwd = ../.; };
in
mkShell {
  packages =
    with pkgs;
    [
      goEnv

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