purebred-mua / purebred

A terminal based mail user agent based on notmuch
GNU Affero General Public License v3.0
139 stars 19 forks source link

Update to Dyre 0.9 #426

Closed frasertweedale closed 3 years ago

frasertweedale commented 3 years ago

Dyre 0.9 has support for cabal store built in. Update to 0.9 and remove our own cabal store-related behaviour.

f6790da (Fraser Tweedale, 4 weeks ago)
   crash early if program was not compiled with -threaded

   It is better to crash with a clear error message than to hang when we enter
   the Brick main loop.  Dyre should take care of adding the
   '-threaded' option when compiling the custom executable, but add this check
   just in case.

32e5eda (Fraser Tweedale, 4 weeks ago)
   dyre: defaultParams -> newParams

   Avoid deprecated 'defaultParams'; use the new and improved
   'newParams'.

2346a1d (Fraser Tweedale, 4 weeks ago)
   dyre: use v0.9 to avoid work related to cabal store and -threaded

   Dyre v0.9 brings internal support for cabal store (it deduces
   -package-id from the extra include dirs).  Migrate to cabal 0.9 and remove
   our own cabal store-related behaviour.

   Dyre v0.9 also adds -threaded when the main executable is running with the
   threaded RTS.  We no longer need to explicitly provide
   '-threaded', so remove it.
frasertweedale commented 3 years ago

CI is very grumpy about this change... have to work out why.