beer.drv.drv.drv

25 points by fzakaria


radex

I’d like to see a write up about how dynamic derivations could be used to close the gap with Bazel.

Bazel defines dependencies in very fine-grained way, so it’s clear how unnecessary rebuilds can be skipped. With Nix, we tend to have a derivation per binary.

geocar

You could handle 99 beers if you do the recursion by decimal digits (keeps max depth to 10+digits). Then, if that weren't sufficient, lower the base and implement binary->decimal encoding, and now max depth is 2+digits. 2^499-2 sounds like a lot of beer.

I am extremely entertained by this today.