aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/vet/default.nix
blob: e9c1b09148c298fd86af9dc91782b5a550c1af68 (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
# Supply-chain gate for `update` in modules/home/zsh.nix. nix, claude, skills
# and gh come from the user's PATH: they are configured elsewhere, and nix
# must match the installed daemon.
{
  writeShellApplication,
  coreutils,
  curl,
  gawk,
  git,
  gnugrep,
  gnused,
  jq,
  vulnix,
}:

writeShellApplication {
  name = "vet";
  runtimeInputs = [
    coreutils
    curl
    gawk
    git
    gnugrep
    gnused
    jq
    vulnix
  ];
  runtimeEnv.VET_PROMPT = ./prompt.md;
  text = builtins.readFile ./vet.sh;
}