1 2 3 4 5 6 7 8 9 10 11 12 13 14
{ pkgs, ... }: pkgs.buildGo.program { name = "sync-gcsr"; srcs = [ ./main.go ]; deps = with pkgs.third_party; map (p: p.gopkg) [ gopkgs."gopkg.in".src-d.go-git ]; x_defs = { "main.BuildManifest" = "${./manifest.yaml}"; }; }