input-output-hk / devx

The Developer Experience Shell - This repo contains a nix develop shell for haskell. Its primary purpose is to help get a development shell for haskell quickly and across multiple operating systems (and architectures).
Apache License 2.0
37 stars 9 forks source link

cabal update with CHaP fails inside Docker container #124

Closed rober-m closed 4 months ago

rober-m commented 5 months ago

Here's what I did:

  1. I created a new project with cabal init
  2. I added CHaP to the cabal.project file and the ghcr.io/input-output-hk/devx-devcontainer Docker container (tried ghc8107-iog and ghc962-iog ones).

Then, I got this error when running cabal update:

Warning: Caught exception during _mirrors lookup:user error (res_query(3)
failed)
Warning: No mirrors found for https://chap.intersectmbo.org/
user error (https not supported)

I verified that this setup and CHaP work outside the Docker container.

Steps to reproduce:

  1. Clone this repo.
  2. Open in VSCode.
  3. Run cabal update