is there some way to pass module options when using ghcWithPackages? i'm wondering if i can pass "--allow-newer" to cabal for a certain dependency
the reason is that the following expression doesn't build due to a bounds conflict in stm: haskell.snapshots."lts-17.10".ghcWithPackages (ps: with ps; [ stm ])
typetetris has joined #haskell.nix
thongpv87 has joined #haskell.nix
Hi, I'm trying to setup haskell dev environment with haskell.nix (with flakes features). I'm able to run `nix develop .` to enter the dev shell. But `cabal build` does not success. Here is the error: http://ix.io/3m9m . How could I fix that?
thongpv87: the problem here has nothing to do with haskell.nix. You are using a newer version of GHC than the one cake-slayer was developed for, and so the upper bound on `base` does not match the installed one. Look up the cabal.project reference in teh Cabal user guide: you should be able to set an allow-newer line to let cake-slayer ignore the upper bound on base.
__monty__ has joined #haskell.nix
fendor has joined #haskell.nix
_d0t has joined #haskell.nix
fendor_ has joined #haskell.nix
fendor has quit [Ping timeout: 240 seconds]
thongpv87 has quit [Remote host closed the connection]