nox
nox copied to clipboard
Allow passing options to `nix-build`
It would be great if a way to pass options (like --keep-going
) to nix-build
existed:
https://github.com/madjar/nox/blob/master/nox/review.py#L22
I was thinking the same thing earlier ! I'll do that.
Support for "--keep-going" has just been merged. Do you see any other useful options, or is keep-going enough ?
I would prefer a general solution, like --nix-build-options=foo,bar
like -Wl,<linker options>
for GCC :-)
--fallback
is important for me today
Just for reference: I recently found the undocumented env var _NIX_OPTIONS
:
_NIX_OPTIONS="max-jobs=6" nox-review --keep-going pr
which might be an OK replacement