Split up demo files to demonstrate lazy evaluation
zombiezen opened this issue · 0 comments
zombiezen commented
With Lua metatables, we could have a top-level file like all-packages.nix that simply holds references to other files that contain the real derivations, then lazily load the Lua files as the table is indexed. This would make evaluation faster by reducing the number of derivations that are evaluated to satisfy the build request.