NixOS / nix

Nix, the purely functional package manager
https://nixos.org/
GNU Lesser General Public License v2.1
12.8k stars 1.52k forks source link

Add options for `nix flake check`: `--nixos-configurations`, `--checks`, `--dev-shells`... #9629

Open phip1611 opened 11 months ago

phip1611 commented 11 months ago

This is a feature request. It would be awesome to better tell nix flake check what to do or to restrict it.

Describe the solution you'd like

Describe alternatives you've considered None.

Additional context This way, one can create nice CI checks where nix flake check is not a big "take it all" solution.

Priorities

Not urgent.

kjeremy commented 3 months ago

This would be great. My flake constantly OOMs on nix flake check so it would be nice to modify (or inspect) the set of checks.