From ca10fead0feef909d7f4bea5eae016c833a78668 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Thu, 1 May 2025 21:50:12 +0200 Subject: [PATCH] haskellPackages.jsonpatch: disable broken test suite --- .../haskell-modules/configuration-common.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 5074fd6cd091..28fb022a78e1 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1232,6 +1232,17 @@ self: super: # test suite requires git and does a bunch of git operations restless-git = dontCheck super.restless-git; + # Missing test files + # https://github.com/pbrisbin/jsonpatch/issues/10 + jsonpatch = overrideCabal (drv: { + testTargets = + lib.warnIf (lib.versionAtLeast drv.version "0.3.0.2") + "haskellPackages.jsonpatch: override can be dropped" + [ + "readme" # disabled: "spec" + ]; + }) super.jsonpatch; + # Work around https://github.com/haskell/c2hs/issues/192. c2hs = dontCheck super.c2hs;