zombiezen / zb

zombiezen build tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Split up demo files to demonstrate lazy evaluation

zombiezen opened this issue · comments

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.