Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a multi-repl-enabled cabal to shell (#242)
This adds a multi-repl-enabled (see haskell/cabal#8726) cabal (using a recent commit from `master`) to the shell. When using GHC >=9.4, one can then run e.g. ```console cabal-multi-repl repl ouroboros-consensus ouroboros-consensus-diffusion ``` to get a REPL with all components in `ouroboros-consensus` and `ouroboros-consensus-diffusion` 🎉 `ghcid` also works, e.g. ```console ghcid -c 'cabal-multi-repl repl ...' ``` Beware that this feature is still somewhat experimental, e.g. `cabal-multi-repl repl ouroboros-consensus-cardano` (or also `-protocol`) are stalling for me, and selecting individual components involving sublibraries fails with this message: ```console $ cabal-multi-repl repl ouroboros-consensus:consensus-testlib ouroboros-consensus:consensus-test Error: Dependency on unbuildable library 'consensus-testlib' from ouroboros-consensus ``` Still, this might already be useful, and should not have any risks/maintenance burden.
- Loading branch information