-
Notifications
You must be signed in to change notification settings - Fork 46
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
Dev-only dependencies #119
Comments
Both it and dev-only dependencies move towards a situation where the top level attributes are more controlled, and have to be enumerated somewhere in order to be published on the flake. |
Here's a possible implementation The flaws are
Ideally it would reuse the base evaluation's option values, while also setting
Not sure. They may be quite orthogonal despite serving similar goals.
Had no problem generalizing hercules-ci/hercules-ci-agent#516 (mentioned at the start). |
🎉 You may now use flake-parts.flakeModules.partitions to achieve this. I'm debating whether to add an opinionated module that sets partitionedAttrs.checks = "dev";
partitionedAttrs.devShells = "dev"; and perhaps add a convenience alias |
Avoid loading dev-only modules by deferring those; when
checks
etc are accessed.devImports : deferredModule
flake.checks
andflake.devShells
in the main eval; choice of attrs should be generalizedThis will work best with
The text was updated successfully, but these errors were encountered: