Disabled by default since it requires `nix-daemon` binary
and Linux namespaces support.
For development this can be enabled by
```
cabal configure --flag=io-testsuite
```
or by adding
```
flags: +io-testsuite
```
to `cabal.project.local`
Enabled by `callCabal2nixWithOptions` in `overlay.nix` so
it is tested by `nix-build` and `nix-shell` brings all
test dependencies.
This is fine on NixOS where `build-tool-depends: nix:nix-daemon` works
and we have namespaces supported.
mkPath's logic was completely wrong (tried to make a PathName out of
the entire path, made up a hash based on the whole path rather than
parsing base32) and putPath ignored the store directory and the hash
part.
Much of the code that depended on these functions was actually
correct, but ultimately did the wrong thing. We can resurrect those
from git once the primitives are correctly implemented.