about summary refs log tree commit diff
path: root/ops/besadii/default.nix
blob: 31f2705d732798eec180d7f1abbe72941d113feb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
# This program is used as a git post-update hook to trigger builds on
# sourcehut.
{ depot, ... }:

depot.buildGo.program {
  name = "besadii";
  srcs = [ ./main.go ];

  x_defs = {
    "main.gitBin" = "${depot.third_party.git}/bin/git";
  };
}