3
0
Fork 0
forked from mirrors/nixpkgs

haskellPackages.servant-swagger: dontCheck

Tests did not compile.
Message:

test/Servant/SwaggerSpec.hs:44:14: error:
    • No instance for (HasSwagger
                         (Fragment Int :> Servant.Test.ComprehensiveAPI.GET))
        arising from a use of ‘toSwagger’
    • In the expression: toSwagger comprehensiveAPI
      In an equation for ‘_x’: _x = toSwagger comprehensiveAPI
      In the second argument of ‘($)’, namely
        ‘do let _x = toSwagger comprehensiveAPI
            True `shouldBe` True’
   |
44 |     let _x = toSwagger comprehensiveAPI
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
This commit is contained in:
Robert Hensing 2020-11-27 12:45:26 +01:00 committed by Peter Simons
parent 69c69dfe9a
commit 2cc48d915f

View file

@ -73,6 +73,9 @@ self: super: {
shellmet = doJailbreak super.shellmet;
shower = doJailbreak super.shower;
# Broken test compile
servant-swagger = dontCheck super.servant-swagger;
# The shipped Setup.hs file is broken.
csv = overrideCabal super.csv (drv: { preCompileBuildDriver = "rm Setup.hs"; });