You can also `cabal init -n` to get a minimal cabal file, then `cabal repl -b primitive` or whatever.
On Tue, Jul 9, 2024 at 10:12 AM Oleg Grenrus <[email protected]> wrote: > > On 9.7.2024 15.23, Sebastian Graf wrote: > > I can't simply pass `-fforce-recomp -ddump-simpl -O` > > You can, `cabal build --ghc-options= "-fforce-recomp -ddump-simpl -O"` > should work (though it applies to all packages). > > > and remember all the fields that need to be set. ( > > `cabal init` is your friend. That said, there are very little fields to > be set for minimal package, `cabal-version, name, version` and the > library pragma with `build-depends` and `exposed-modules`. > > After you have done such package few times, you will remember those > easily. I'd argue a lot more easily that remembering how to use `cabal > install --lib` properly. > > - Oleg > > _______________________________________________ > ghc-devs mailing list > [email protected] > http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs > -- brandon s allbery kf8nh [email protected]
_______________________________________________ ghc-devs mailing list [email protected] http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
