Closed lippirk closed 5 years ago
Okay, so nix-shell -p haskell.packages.ghc863.cabal-install
doesn't work either. The error is the same: Encountered missing dependencies: base >=4.5 && <4.12
. I realised that this certainly makes sense ghc863 comes with base-4.12.0.0
.
Overriding cabal-install
, cryptohash-sha256
and resolv
with doJailbreak
in turn leads me to different error messages, but it doesn't seem to be going anywhere (I have finally reached a compilation error). This cannot possibly be what I'm supposed to be doing.
What am I doing wrong? I feel nix-shell -p haskell.packages.ghc863.cabal-install
should 'just work' but it doesn't (for me)
ghc 863 came out after 18.09 branched off. I wonder if it has not gotten the updates since then?
You are probably going to be better off using haskell.packages.ghc844 (haskellPackages) for now. You can also try ghc 863 from unstable.
Thanks for your response. That would make sense. I will stick to 844 for now and try 863 in a little while
Issue description
I have just started using nixos, and am struggling to build my haskell project's dependencies inside a
nix-shell
with ghc863 (it works with ghc844!). It seems to be because ofhaddock-library
.I have found the following does not work either, and seems to give the same/similar error message:
Steps to reproduce
nix-shell -p haskell.packages.ghc.863.haddock-library
Technical details
I also tried to jailbreak haddock-library with an overlay:
Whilst I could see my overridden version was called, I still got the same error. (AFAIK jailbreaking remove constraints on a package, so my thought process was 'I should jailbreak to remove that pesky constraint
base >= 4.5 && <4.12
'. I suppose this is wrong.)I apologies if this is trivial - I've only ever used stack before so I'm not used to these kinds of errors.
System details: