tallinn@ubuntu-24-04:~/Development/Haskell-hw1$ cabal --version
cabal-install version 3.10.3.0
compiled using version 3.10.3.0 of the Cabal library
tallinn@ubuntu-24-04:~/Development/Haskell-hw1$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 9.4.8
tallinn@ubuntu-24-04:~/Development/Haskell-hw1$ ghci --version
The Glorious Glasgow Haskell Compilation System, version 9.4.8
tallinn@ubuntu-24-04:~/Development/Haskell-hw1$ cabal install ghci-dap haskell-debug-adapter
...
Failed to build exe:ghci-dap from ghci-dap-0.0.23.0.
Build log (
/home/tallinn/.cabal/logs/ghc-9.4.8/ghci-dap-0.0.23.0-e-ghci-dap-75490319b115203a8573e7a64c5361ce34a8c5c2d57f923e1d7a84896efcdd46.log
):
Configuring executable 'ghci-dap' for ghci-dap-0.0.23.0..
Preprocessing executable 'ghci-dap' for ghci-dap-0.0.23.0..
Building executable 'ghci-dap' for ghci-dap-0.0.23.0..
on the commandline: warning: [-Wunrecognised-warning-flags]
unrecognised warning flag: -Wno-x-partial
[1 of 6] Compiling GHCi.DAP.Constant ( app/GHCi/DAP/Constant.hs, dist/build/ghci-dap/ghci-dap-tmp/GHCi/DAP/Constant.o )
[2 of 6] Compiling GHCi.DAP.Type ( app/GHCi/DAP/Type.hs, dist/build/ghci-dap/ghci-dap-tmp/GHCi/DAP/Type.o )
app/GHCi/DAP/Type.hs:10:1: error:
Could not find module ‘GHCi.GhcApiCompat’
Use -v (or `:set -v` in ghci) to see a list of the files searched for.
|
10 | import qualified GHCi.GhcApiCompat as GAC
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[5 of 6] Compiling Paths_ghci_dap ( dist/build/ghci-dap/autogen/Paths_ghci_dap.hs, dist/build/ghci-dap/ghci-dap-tmp/Paths_ghci_dap.o )
Error: cabal: Failed to build exe:ghci-dap from ghci-dap-0.0.23.0. See the
build log above for details.
This happens on macOS as well.