about summary refs log tree commit diff
path: root/users/sterni
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-04-27T14·10+0200
committertazjin <tazjin@tvl.su>2022-05-01T20·27+0000
commitdd691b1bd388a2f8923c28280f11a15293282f3b (patch)
tree2df5cdcb61e1669f74612db407336c24d3ea8606 /users/sterni
parent55ba5999ed7564bdc24f2d7790478d14baa57e02 (diff)
feat(magrathea): add flag passthru for arguments to nix-build r/3994
in some cases, users might want to pass through flags for
nix-build (such as `-j`).

magrathea now accepts these as arguments to `mg build`, as long as
they are separated by `--`.

the arguments passed to `mg build` are parsed into a proper record,
which enables us to show users very clear error messages in case they
forget to use the `--` separator and keeping us future-compatible with
more potential arguments to magrathea itself.

Change-Id: I81f5d9db52779a5cc3b8bbdd975316274fffe5fc
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5507
Tested-by: BuildkiteCI
Reviewed-by: ezemtsov <eugene.zemtsov@gmail.com>
Reviewed-by: asmundo <asmundo@gmail.com>
Diffstat (limited to 'users/sterni')
0 files changed, 0 insertions, 0 deletions