Slide 10
Slide 10 text
Hash is magic
● How to cache builds? Hash the inputs, lookup the hash in cache.nixos.org, if
exists then download output. No need to build!
○ Build once, run everywhere
● How to run npm install without internet? Nix support fixed output
derivation where you say that the output is a fixed value, and Nix disable the
sandbox.
○ This is what Google Bazel fails to make it easy and harms adoption