depot/go/buildgo2/default.nix

14 lines
226 B
Nix
Raw Permalink Normal View History

{ depot, ... }@args:
let
asm = import ./asm args;
cgo = import ./cgo args;
in
depot.third_party.buildGo2.program {
name = "buildgo2";
srcs = [ ./main.go ];
deps = [ asm ];
} // {
inherit asm cgo;
}