Hi!

"Yury G. Kudryashov" <[email protected]> writes:

> What do you think about adding pre-commit hook that rejects commits that 
> lead to evaluation errors?

+1

For instance:

  - nix-instantiate --strict --eval-only \
      maintainers/scripts/eval-release.nix

  - nix-env -qa '*'

  - build the manual;

  - do whatever Hydra does to evaluate the thing.

It’d be slightly CPU-intensive, though.

> What else should we check? Coding style (tabs, trailing spaces)?

Why not.

Thanks,
Ludo’.

_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev

Reply via email to