tvl-depot/ops/besadii/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
334 B
Nix
Raw Normal View History

# This program is used as a git post-update hook to trigger builds on
# sourcehut.
{ ciBuilds, depot, ... }:
let
inherit (builtins) toFile toJSON;
in depot.nix.buildTypedGo.program {
name = "besadii";
srcs = [ ./main.go2 ];
x_defs = {
"main.TargetList" = toFile "ci-targets.json" (toJSON ciBuilds.__evaluatable);
};
}