-
Notifications
You must be signed in to change notification settings - Fork 1
Do some clean up of the Nix infrastructure #22
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
Conversation
Everything in there ultimately relies on Channable-internal tooling, and is only needed if we want to run pre-commit in a separate environment. For this repo it's okay to just put pre-commit and tools we want to run through it in the same `mkShell`.
No way that'll actually be kept up to date.
| watch_file nix/sources.json nix/sources.nix nix/overlay.nix nix/python-overlay.nix opsqueue/opsqueue.nix /libs/opsqueue_python/opsqueue_python.nix | ||
| fi | ||
|
|
||
| watch_file ./nix/ ./**/*.nix |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😍
Qqwy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for making this nicer! ❤️
|
@OpsBotPrime merge |
|
Rebased as 1f3cde6, waiting for CI … |
Approved-by: isomorpheme Priority: Normal Auto-deploy: false
|
CI job 🟡 started. |
|
The build failed ❌. If this is the result of a flaky test, then tag me again with the |
|
@OpsBotPrime retry |
Approved-by: isomorpheme Priority: Normal Auto-deploy: false
|
Rebased as c943a54, waiting for CI … |
|
CI job 🟡 started. |
As title, and commit history should explain the individual changes.
Importantly, this fixes an oversight where the Python overlay can't be used without also using the general nixpkgs overlay, since the former depends on the
fileFilterutility function added by the latter. Since that's purely Nix code, we simply shouldn't define that in an overlay - then it's also much easier to see wherefileFilteris even defined.I also plan to do a future PR to remove some more Channable workflow-specific bits, and to make the project easier to import into other Nix code.