fe01b82c5d
This is the first Go package properly built with external dependencies using buildGo.nix
9 lines
202 B
Nix
9 lines
202 B
Nix
{ pkgs, ... }:
|
|
|
|
pkgs.buildGo.program {
|
|
name = "blog_cli";
|
|
srcs = [ ./main.go ];
|
|
deps = with pkgs.third_party; [
|
|
gopkgs."google.golang.org".api.dns.v1.gopkg
|
|
];
|
|
} // { meta.enableCI = true; }
|