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

Enable specifying flake policies via Common Expression Language #124

Merged
merged 23 commits into from
Jul 2, 2024

Conversation

lucperkins
Copy link
Member

@lucperkins lucperkins commented Jun 17, 2024

This enables specifying per-Nixpkgs-input conditions via CEL, e.g.:

flake-checker --condition "supportedRefs.contains(gitRef) && numDaysOld < 100 && owner == 'NixOS'"

@lucperkins lucperkins marked this pull request as draft June 18, 2024 19:00
@lucperkins lucperkins marked this pull request as ready for review July 1, 2024 19:55
@lucperkins lucperkins requested a review from cole-h July 1, 2024 19:55
flake.nix Outdated Show resolved Hide resolved
@lucperkins lucperkins requested a review from cole-h July 1, 2024 20:10
@lucperkins lucperkins merged commit 6ba8ec5 into main Jul 2, 2024
16 checks passed
@lucperkins lucperkins deleted the cel-expressions branch July 2, 2024 14:54
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.

None yet

2 participants