I’m trying to package a Haskell application as a snap. I’ve managed to get it working locally using snapcraft cleanbuild
, but it fails on the builders of snapcraft.io
. The main issue is that I need access to hackage.haskell.org
to fetch the dependencies of my application, but the container is unable to access it:
cabal: '/usr/bin/wget' exited with an error:
--2018-08-31 11:49:01-- http://hackage.haskell.org/root.json
Resolving hackage.haskell.org (hackage.haskell.org)... failed: Name or service not known.
wget: unable to resolve host address ‘hackage.haskell.org’