From 4821b61a701bfeda777a0372ea7a9fac4aea71d1 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 26 Dec 2021 11:23:49 +0100 Subject: [PATCH] haskellPackages.json-to-haskell: skip ordering dependent tests --- pkgs/development/haskell-modules/configuration-common.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 4d0c43c81ff8..241f5b9cf0f7 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -2186,5 +2186,11 @@ self: super: { "--skip" "/Geo/Hexable/Encodes a linestring/" ] ++ drv.testFlags or []; }) super.haskell-postgis; + # https://github.com/ChrisPenner/json-to-haskell/issues/5 + json-to-haskell = overrideCabal (drv: { + testFlags = [ + "--match" "/should sanitize weird field and record names/" + ] ++ drv.testFlags or []; + }) super.json-to-haskell; } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super