The current documentation of cabal shows a sandbox
subcommand.
The respective page on github no longer contains the section on sandboxes.
I'm using cabal version 3.2.0.0, but the sandbox
subcommand is absent. What is the correct way to manage sandboxes with cabal?
Apparently there's an overhaul going on with the documentation, there's mention of a Nix-style/new-/v2 commands but it's unclear to a noob what's the canonical way of using sandboxes with cabal.
They're no longer needed. The nix-style store does everything sandboxes did, but better. Just use use cabal build
(cabal v2-build
for pre-3.0 cabal's) and other cabal
commands with impunity in a bare, sandbox-free directory.