github.com/phadej/cabal-extras

A tool suite to aid Haskell development using `cabal-install`

Open this visualization on its own page →

Contributors

7

Lines of Code

606

From

2019-11-17

To

2021-01-24

About phadej/cabal-extras

Cabal-extras is a suite of experimental command-line tools designed to extend and improve the Haskell package manager `cabal-install`. The project contains five main utilities: `cabal-env` explores functionality for installing libraries locally, `cabal-diff` allows comparing APIs across different versions of packages, `cabal-bundler` leverages the cabal solver to create standalone installation bundles, `cabal-deps` experiments with dependency outdatedness checking, and `cabal-store-check` attempts to repair issues in cabal's nix-style package store. There is also a related standalone tool called `cabal-fmt` for formatting `.cabal` files.

The tools in this suite are intentionally marked as highly experimental, though the maintainer uses them in daily development. Most of the tools' detailed documentation appears incomplete in the repository. Installation requires GHC 8.2 and cabal-install 3.0 or later, with individual executables installable via make commands. The `cabal-store-check` and `cabal-store-gc` utilities focus on store maintenance, with the latter providing garbage collection and root management to reduce storage size, supporting automatic roots from executables and environment files as well as indirect roots that preserve development project dependencies.

Share this video