Needed only once after cloning the repo:
$ cabal sandbox init $ cabal update $ cabal install --dependencies-only $ cabal configure
Build after each code change:
$ cabal build -j --ghc-options=-Werror
$ ./dist/build/hcopy/hcopy