seek-oss / serverless-haskell

Deploying Haskell applications to AWS Lambda with Serverless
MIT License
215 stars 22 forks source link

Stackage nighly compilation failure #188

Open alaendle opened 1 year ago

alaendle commented 1 year ago
/var/stackage/work/unpack-dir/unpacked/serverless-haskell-0.12.6-0aad6e7c1ea6e0a0f623b102101ff644049eb980a3c9c13889c31f73e8fc53cd/src/AWSLambda/Events/KinesisEvent.hs:18:1: error:
           Could not find module ‘Network.AWS.Data.Base64’
           Use -v (or `:set -v` in ghci) to see a list of the files searched for.
          |
       18 | import           Network.AWS.Data.Base64   (Base64 (..))
          | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

       /var/stackage/work/unpack-dir/unpacked/serverless-haskell-0.12.6-0aad6e7c1ea6e0a0f623b102101ff644049eb980a3c9c13889c31f73e8fc53cd/src/AWSLambda/Events/KinesisEvent.hs:19:1: error:
           Could not find module ‘Network.AWS.Kinesis.Types’
           Use -v (or `:set -v` in ghci) to see a list of the files searched for.
          |
       19 | import qualified Network.AWS.Kinesis.Types as Kinesis
          | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

       /var/stackage/work/unpack-dir/unpacked/serverless-haskell-0.12.6-0aad6e7c1ea6e0a0f623b102101ff644049eb980a3c9c13889c31f73e8fc53cd/src/AWSLambda/Events/KinesisEvent.hs:20:1: error:
           Could not find module ‘Network.AWS.Types’
           Perhaps you meant
             Network.DNS.Types (needs flag -package-id dns-4.2.0)
             Network.TLS.Types
             Network.S3.Types
           Use -v (or `:set -v` in ghci) to see a list of the files searched for.
          |
       20 | import qualified Network.AWS.Types         as AWS
          | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Disabled serverless-haskell in nightly build for now.

axman6 commented 1 year ago

This is probably related to #169 (and #170 and #187), assuming stackage has moved to amazonka-2.0.