-
Notifications
You must be signed in to change notification settings - Fork 78
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
Q: why does flattenTree rely on recurseIntoAttrs? #112
Comments
If If it has a hierarchy, it's incompatible with the |
@zimbatm, how about specifically for checks? Here's a snippet from our flake.nix:
(where there is some collision in the keys between The above code works, but it is bit cumbersome to have to call
|
It would make sense to add a |
I like the I'm not sure, in that case, of the value of mkChecks. |
The need to add
recurseIntoAttrs
causes pollution of the attrset with the marker attribute. That prevents it from being set as thepackages
output of a flake.In
checks
, I do wish to use flattenTree. But inpackages
I don't. But I must in order to remove the marker attr. And that goes for other placespackages
ends up in.This makes me wish for a
flattenTree
that doesn't needrecurseIntoAttrs
.Dime for you thoughts?
The text was updated successfully, but these errors were encountered: