about summary refs log tree commit diff
path: root/proto.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-11-26T12·11+0000
committerVincent Ambo <tazjin@google.com>2019-11-26T12·21+0000
commit8b6b08b814af72e8b2f6281037f089e099a41e25 (patch)
tree36878cfabf9d331e59f0241eefe762d27668a27f /proto.nix
parent7d26550c11e6fdde5b3a0a052b917aef16dc9816 (diff)
feat(buildGo): Add 'srcOnly' and 'targets' parameters for external
Adds two new parameters to buildGo.external:

* `srcOnly` toggles whether the created derivation should contain only
  the source code, or the built package.

  This is useful in situations where some sub-packages of a larger
  package are needed and the build should be deferred to the package
  depending on them.

  It defaults to false, meaning that external packages are built by
  default.

* `targets` controls which "sub-packages" of the target package are
  built. It defaults to building all sub-packages.
Diffstat (limited to 'proto.nix')
0 files changed, 0 insertions, 0 deletions