Hi. I’m starting to use nix with Haskell and there are a few things that really confuse me.
I installed cabal-install (v 3.0) and cabal2nix (v 2.15.0 or latest).
I had errors with a single package in my derivation, bloodhound-0.16.0.0.
The way I deal with this when not building with nix is that I have to allow newer like so
–allow-newer=containers. This allows cabal to fetch containers >= 0.5.0.0 && < 0.6 and the build succeeds.
Is my understanding correct that this makes no sense in nix? because nix simply knows about one current package of containers? I was trying to overwrite the configureFlags but it did not work.
Also cabal configure uses Cabal 2.4.0.1. I’m guessing this is the default used by the ghc-8.5 configuration. Is there a way to build with Cabal 3.0.0.0? how would I do that?