about summary refs log tree commit diff stats
path: root/shell.nix
blob: 3b81469e7a4690bd30fdc628a7f5275633efd82a (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{ pkgs ? (
    let
      sources = import ./npins;
    in
    import sources.nixpkgs {
      overlays = [
        (import "${sources.gomod2nix}/overlay.nix")
      ];
    }
  )
}:
let
  goEnv = pkgs.mkGoEnv { pwd = ./.; };
  inherit (import ./.) pre-commit-check;
in
pkgs.mkShell {
  inherit (pre-commit-check) shellHook;
  packages = with pkgs; [
    goEnv
    gomod2nix

    npins
    gopls
    gotools
    go-tools
    templ
    gci
    hyperlink
    systemfd
    just
    modd

    skopeo
    flyctl
    nodePackages.vercel
    netlify-cli
  ];
}