4 ms·
Has Cabal been fixed yet?
by HKH2 2y ago
Has Cabal been fixed yet?
- ryandv 2y agoYes. Use stack [0]. [0] https://docs.haskellstack.org/en/stable/ https://docs.haskellstack.org/en/stable/
- kreetx 2y agoYes, a long time ago [0]. Depending on your needs, stack might still have advantages as the direct tool used by the developer (as it uses cabal underneath anyway). [0] https://stackoverflow.com/a/51016806/4126514 https://stackoverflow.com/a/51016806/4126514
- instig007 2y agoAt least since August 2017: https://downloads.haskell.org/~cabal/Cabal-3.0.0.0/doc/users-guide/nix-local-build.html https://downloads.haskell.org/~cabal/Cabal-3.0.0.0/doc/users... You don't need switching to Stack (as other commenters suggest) to have isolated builds and project sandboxes etc. If you want to bootstrap a specific compiler version, a-la nvm/pyenv/opam, use GHCup with Cabal project setup: https://www.haskell.org/ghcup/ https://www.haskell.org/ghcup/