2020-02-13 23:38:34 +01:00
|
|
|
# This program is used as a git post-update hook to trigger builds on
|
|
|
|
# sourcehut.
|
|
|
|
{ depot, ... }:
|
|
|
|
|
|
|
|
depot.buildGo.program {
|
|
|
|
name = "besadii";
|
|
|
|
srcs = [ ./main.go ];
|
2020-02-22 00:13:53 +01:00
|
|
|
|
|
|
|
x_defs = {
|
|
|
|
"main.gitBin" = "${depot.third_party.git}/bin/git";
|
|
|
|
};
|
2020-02-13 23:38:34 +01:00
|
|
|
}
|