nox icon indicating copy to clipboard operation
nox copied to clipboard

Allow passing options to `nix-build`

Open ip1981 opened this issue 10 years ago • 5 comments

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

ip1981 avatar Nov 13 '14 10:11 ip1981

I was thinking the same thing earlier ! I'll do that.

madjar avatar Nov 13 '14 12:11 madjar

Support for "--keep-going" has just been merged. Do you see any other useful options, or is keep-going enough ?

madjar avatar Nov 14 '14 14:11 madjar

I would prefer a general solution, like --nix-build-options=foo,bar like -Wl,<linker options> for GCC :-)

ip1981 avatar Nov 14 '14 16:11 ip1981

--fallback is important for me today

DamienCassou avatar Mar 08 '16 15:03 DamienCassou

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

teh avatar Oct 20 '16 21:10 teh