srid / nixci

Define and build CI for Nix projects anywhere; superceded by Omnix https://omnix.page/om/ci.html
GNU Affero General Public License v3.0
108 stars 5 forks source link

Add an option to run a single subflake #42

Closed srid closed 5 months ago

srid commented 6 months ago

When the nixci configuration contains multiple sub-flakes, allow a way to build just one of them.

This is useful to run a single test when there are many, as is the case with haskell-flake:

nixci github:srid/haskell-flake --build-subflake test-simple
srid commented 5 months ago

Wait, but it fails:

image
srid commented 5 months ago

Actually, this attribute refers to the nixci configuration itself, not the subflake. Also the UX, when you specify missing config, is pretty confusing:

image