Flakes: Difference between revisions

imported>Mic92
imported>Mic92
the `use flake` function does not protect against garbage collection
Line 239: Line 239:
</syntaxHighlight>
</syntaxHighlight>


The nice thing about this approach is that evaluation is cached, and that the project’s shell is now protected from the nix garbage-collector.
The nice thing about this approach is that evaluation is cached.


==== Optimize the reloads ====  
==== Optimize the reloads ====