12 lines
245 B
Nix
12 lines
245 B
Nix
# 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";
|
|
};
|
|
}
|