Open andygill opened 9 years ago
The command
cabal repl Foo.hs --ghc-options='-fforce-recomp -O2 -dcore-lint -fsimple-list-literals -fexpose-all-unfoldings -fplugin=HERMIT'
gets quite far, as long as you as not in the same cabal package as hermit or hermit-ghci (otherwise, it attempts to rebuild HERMIT internals)
I'm not sure if I understand the issue, but couldn't you install hermit
in a sandbox and run cabal exec hermit Foo.hs
? (This assumes cabal-install
≥ 1.20.)
Nice one @RyanGlScott, Thanks.
Huh, I didn't know about cabal exec
either... nice!
We should have a way of starting HERMIT from inside cabal package. This would include the relevant sandbox support.