Open luc-tielen opened 2 years ago
cabal configure --enable-tests && cabal test
fails inside devshellnix develop
and then running the above command also fails
Packages pulled with nix develop
can conflict with those defined by cabal.project
and cause issues. We should find a way to make cabal.project
load whatever packages that have been loaded by nix
devshell (package-db is probably what you want).
Yes, that's why right now they need to align (manually for now).
For now the cabal.project
(in eclair) only lists packages that are not on hackage and are only on github.
nix build
workscabal configure --enable-tests && cabal test
fails inside devshellnix develop
and then running the above command also failsCabal seems to want to build ghc first, which is weird? It's not specified anywhere in the cabal file..
Could this be because we updated nixpkgs and are now using Cabal 3.8 instead of 3.6? Looking at the issue list, seems like 3.8 is still kind of buggy?
Need to find a proper solution this so that it avoids building GHC. Plan B is to use Cabal 3.6 for now (but will become a problem again in the future so better to fix it now).