about summary refs log tree commit diff
path: root/.hgignore
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-09-14T21·50+0200
committersterni <sternenseemann@systemli.org>2021-09-18T11·56+0000
commit852d059e2f5845f572b442f52364d273b4a736f6 (patch)
tree1488eef69b451ecab73d01cb0a6c595b89aa9697 /.hgignore
parent5dec98233482ebd651f9be77984a178d6656efe4 (diff)
feat(nix/nint): accept attribute set with stdout, stderr and exit r/2882
This extends the calling convention for nint in a non-breaking way: If
the called script returns an attribute set instead of a string the
following is done:

* If the attributes `stdout` and/or `stderr` exist, their content (which
  must be a string currently) is written to the respective output.

* If the attribute `exit` exists, nint will exit with the given exit
  code. Must be a number that can be converted to an `i32`. If it's
  missing, nint will exit without indicating an error.

Change-Id: I209cf178fee3d970fdea3b26e4049e944af47457
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3547
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to '.hgignore')
0 files changed, 0 insertions, 0 deletions