Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a default system in case system = [] for *only* universal flakes #20

Open
maxheld83 opened this issue Feb 20, 2025 · 0 comments
Open

Comments

@maxheld83
Copy link
Contributor

In #19 I mistakenly created a flake which makes flake-iter return system = [] which breaks the CI.

(In DeterminateSystems/flake-iter#21, I let flake-iter emit a warning for these circumstances).

However, I wondered whether it was theoretically possible to legitimately end up with system = [], as, for example, when your flake only has a schema and a pdf output.

I'm not experienced with nix/flakes enough to know if/how plausible this scenario is.

If it is plausible, I'd be happy to write a PR which lets the CI job default to some system with, say '{"x86_64-linux": "ubuntu-latest"}', just so the matrix job as something to run on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant