Cabal progress bar for building packages, libraries

…for compiling library without dependencies (when you develop the dependencies are usually already built, you just recompile parts):

image

…for compiling & installing packages, usually everything.

image

What do you think?

23 Likes

Is this getting accepted and will be available in releases? Excited to try this!

WHEN CAN HAVE PLEASE :heart_eyes:

2 Likes

Here’s the implementation:

What now needs to be done is connecting it to cabal and let cabal get the events (first/next module compilation started, component completely compiled).

REQUEST FOR CONTRIBUTIONS!
=> Adding loading indicators to the build command · Issue #8943 · haskell/cabal · GitHub

1 Like

This looks really cool. I’ve wanted a nix-output-monitor style view of building with Cabal for ages, any idea how hard that’d be? I saw in the github thread mention of GHC outputting JSON, I assume for similar reasons as nix for tools like NOM to consume.

I’d cosign something like this for cabal-install. It’s nice to have nice things.

2 Likes