tweag / monad-bayes

A library for probabilistic programming in Haskell.
MIT License
404 stars 62 forks source link

nix develop broken in multiple ways #299

Open turion opened 1 year ago

turion commented 1 year ago
turion commented 1 year ago

CC @idontgetoutmuch @reubenharry

turion commented 1 year ago

cabal-docspec unfortunately is hard to install in a sustainable way. See https://github.com/phadej/cabal-extras/issues/135. The only way I can think of (apart of building from source) would be pinning a version from a github release as described in https://serokell.io/blog/doctests-in-haskell. The alternative is dropping cabal-docspec altogether, which would be sad, but might be necessary.

turion commented 1 year ago

It seems cabal-docspec was added as an experiment in https://github.com/tweag/monad-bayes/pull/161, so I'm of a mind to remove it, since it was never tested on CI (and haskell-nix-utils seem unmaintained).