proto3-suite icon indicating copy to clipboard operation
proto3-suite copied to clipboard

Tests fail to compile when enableSwagger is false

Open j6carey opened this issue 2 years ago • 0 comments

To reproduce:

$ nix-build -A proto3-suite --arg enableSwagger false
...
tests/TestCodeGen.hs:18:1: error:
    Could not find module ‘Data.Swagger’
    Perhaps you meant
      Data.Tagged (needs flag -package-key tagged-0.8.6.1)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
18 | import           Data.Swagger                   (ToSchema)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

tests/TestCodeGen.hs:19:1: error:
    Could not find module ‘Data.Swagger’
    Perhaps you meant
      Data.Tagged (needs flag -package-key tagged-0.8.6.1)
    Use -v (or `:set -v` in ghci) to see a list of the files searched for.
   |
19 | import qualified Data.Swagger
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

j6carey avatar Jul 06 '22 19:07 j6carey