about summary refs log tree commit diff
path: root/proto.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-11-25T16·42+0000
committerVincent Ambo <tazjin@google.com>2019-11-25T16·45+0000
commit7d26550c11e6fdde5b3a0a052b917aef16dc9816 (patch)
tree39e2bd8c3b5177c2acacab50dde863613c6b790a /proto.nix
parent473421dbb81fedbec7f1f6e788c813b5fe9f4604 (diff)
feat(buildGo): Add support for building "external" Go libraries
Adds a buildGo.external function that can build packages following the
default go-tool package layout. Dependencies work the same way as they
do for other buildGo-packages, but instead of being passed straight to
the compiler a fake GOPATH is assembled using a symlink forest.

External currently supports very few direct configuration options and
was primarily created to build the protobuf packages, but it is also
useful for including external dependencies in buildGo-native projects.

The previous complex build logic for the protobuf package has been
replaced with a call to `external`.
Diffstat (limited to 'proto.nix')
0 files changed, 0 insertions, 0 deletions