From 2cc48d915f708e022b9d8b830b0c4335a1faf8d7 Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Fri, 27 Nov 2020 12:45:26 +0100 Subject: [PATCH] haskellPackages.servant-swagger: dontCheck MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 | ^^^^^^^^^^^^^^^^^^^^^^^^^^ --- pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index 5080472666b4..0bea1287392e 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -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"; });