Just wanted to point out that information in the "Using Cabal on Its Own" post is no longer up-to-date as of cabal-install 3.0+, since v2-build is now the default and recommended mode of operation instead of sandboxes. v1-build is still there for backwards compatibility purposes.