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

prepare for garnix #6075

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

prepare for garnix #6075

wants to merge 1 commit into from

Conversation

dermetfan
Copy link
Contributor

@dermetfan dermetfan commented Jan 14, 2025

Description

  • Add garnix cache to the flake nix config.
  • Add garnix.yaml that builds only .#checks.
  • Adjust the flake outputs to make garnix build everything that Hydra did.

Garnix does not build the hydraJobs output
so move them all into the checks output,
adhering to the flake output schema
because garnix does not build nested attrsets.

Note that this replaces the layout of the checks output
but it should still include all the checks that it had previously.
So no checks are removed, they just have a different name.
I hope that's ok and no checks are referred to by name somewhere.

Checklist

  • Commit sequence broadly makes sense and commits have useful messages
  • New tests are added if needed and existing tests are updated.
  • Any changes are noted in the CHANGELOG.md for affected package
  • The version bounds in .cabal files are updated
  • CI passes
  • Self-reviewed the diff

@dermetfan dermetfan changed the title put flattened .#hydraJobs in .#checks prepare for garnix Jan 14, 2025
@dermetfan dermetfan marked this pull request as ready for review January 14, 2025 18:25
@dermetfan dermetfan requested review from a team as code owners January 14, 2025 18:25
@dermetfan dermetfan added the nix Nix-based build and CI infrastructure label Jan 14, 2025
Garnix does not build the `hydraJobs` output
so move them all into the `checks` output,
adhering to the flake output schema
because garnix does not build nested attrsets.
@dermetfan dermetfan marked this pull request as draft January 22, 2025 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nix Nix-based build and CI infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant