ghc-session test suite fails: error installing Cabal-3.2.0.0 with cabal >= 3.0
jneira opened this issue · 1 comments
jneira commented
Log:
Installing Cabal 3.2.0.0 ...
cd C:\TEMP\cabal-helper.install-cabal-tmp17240; cabal get Cabal-3.2.0.0
Unpacking to Cabal-3.2.0.0\
D:\bin\stack\x86_64-windows\ghc-8.8.3\bin\ghc.exe --numeric-version
=> 8.8.3
D:\bin\stack\x86_64-windows\ghc-8.8.3\bin\ghc-pkg.exe init 'C:\Users\atrey\Local Settings\Cache\cabal-helper\ghc-8.8.3.package-dbs\Cabal-3.2.0.0'
cabal --numeric-version
=> 3.2.0.0
cd /; cabal --package-db=clear --package-db=global '--package-db=C:\Users\atrey\Local Settings\Cache\cabal-helper\ghc-8.8.3.package-dbs\Cabal-3.2.0.0' '--prefix=C:\Users\atrey\Local Settings\Cache\cabal-helper\ghc-8.8.3.package-dbs\Cabal-3.2.0.0\prefix' --with-ghc=D:\bin\stack\x86_64-windows\ghc-8.8.3\bin\ghc.exe --with-ghc-pkg=D:\bin\stack\x86_64-windows\ghc-8.8.3\bin\ghc-pkg.exe --no-require-sandbox install C:\TEMP\cabal-helper.install-cabal-tmp17240\Cabal-3.2.0.0 --only-dependencies
cabal: Invalid package ID:
C:\TEMP\cabal-helper.install-cabal-tmp17240\Cabal-3.2.0.0
compiling: ChLibEntrypoint {chExposedModules = [ChModuleName {unChModuleName = "Lib"}], chOtherModules = [], chSignatures = []}
targets: [Lib]
- Same command fails in a console
- changing
install
(by defaultv2-install
as i am usingcabal-3.2.0.0
) byv1-install
the installation is succesful
jneira commented
I think i have the fix so i could open a pr soon