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.
This commit is contained in:
sternenseemann 2021-12-21 23:00:15 +01:00
parent 6198eac9ba
commit d6f265f182

View File

@ -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