-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
featureFeature request or proposalFeature request or proposal
Description
Is your feature request related to a problem?
flakes currently cache results at the level of the attribute built from the cli, if i understand correctly, whereas such attributes may be accessed from code as potentially intermediate values as well, e.g. through the self fix-point.
Proposed solution
while perhaps not a high priority, it would be nice to see cached results for packages used when accessing these at the code level through self.packages as well.
Alternative solutions
- incremental builds seem prior art
Additional context
i recently took it from @roberth that this feature was not yet implemented.
/cc @edolstra, who is probably most well-versed in performance optimization for flake-based builds.
Checklist
- checked latest Nix manual (source)
- checked open feature issues and pull requests for possible duplicates
Add 👍 to issues you find important.
Metadata
Metadata
Assignees
Labels
featureFeature request or proposalFeature request or proposal