3 ms·
This is cool! We do something similar in Devbox where we pre-evaluate store paths from the Nix repository, and then fetch the packages directly from the officia
by jljljl 2y ago
This is cool! We do something similar in Devbox where we pre-evaluate store paths from the Nix repository, and then fetch the packages directly from the official Nix cache. This greatly reduces the evaluation time.
Here's a blog post we wrote on the topic:
https://www.jetify.com/blog/how-we-sped-up-nix-package-installs-in-devbox https://www.jetify.com/blog/how-we-sped-up-nix-package-insta...
- jkarni 2y agoWe also do something similar at garnix, but when enabling incremental builds. Instead of just skipping the build stage, we also “normalize” the eval into just the store path, and skipping it the second time around. Mentioned in passing in https://garnix.io/blog/incremental-builds https://garnix.io/blog/incremental-builds. This is even more significant because in this case you might otherwise be eval-ing several layers of flakes.