From d6f265f1820b3cbbe5ee53eb52612cc1df31728f Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Tue, 21 Dec 2021 23:00:15 +0100 Subject: [PATCH] haskellPackages.swagger2: don't run ordering dependant doctests Changes in unordered-containers cause swagger2's doctests, because they check precise ordering of thing returned from unordered-containers. --- pkgs/development/haskell-modules/configuration-common.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 60efe5720608..f83e14d87072 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2145,5 +2145,9 @@ self: super: { "--skip" "/attributes-with/mixed/" ] ++ drv.testFlags or []; }) super.lucid; + # Basically the entire doctest suite of swagger2 fails for the same reason + swagger2 = assert super.swagger2.version == "2.6"; overrideCabal (drv: { + testTarget = "spec"; + }) super.swagger2; } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super