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

filter packages by platform #109

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

phaer
Copy link
Member

@phaer phaer commented Mar 28, 2025

First commit ensures that we only get an output per package on platforms that package supports.

nix flake check does check all packages by default, so the pkg-* might be regarded as duplicates. On the other hand, they don't show up in the checks output, which probably means CI would skip them with buildbot-nix et al. :/

Shall we just drop the second commit and evaluate them twice?

@r-vdp
Copy link
Member

r-vdp commented Mar 28, 2025

When you don't add the packages as checks explicitly, aren't they only evaluated? Or are they also built?

@phaer
Copy link
Member Author

phaer commented Mar 28, 2025

Quick check here seems to suggest they are only evaled, as you say. So i dropped the second commit

So it does make sense to have both. And at least in theory the eval cache should probably kick in here and save us from evaluating each package twice?

@phaer phaer requested a review from zimbatm March 28, 2025 14:36
@phaer phaer changed the title filter packages by platform, remove duplicate checks. filter packages by platform, Mar 31, 2025
@phaer phaer changed the title filter packages by platform, filter packages by platform Mar 31, 2025
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

Successfully merging this pull request may close these issues.

2 participants