From f501d9be3b88484f5bc231796cdb4177efef0bc4 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Thu, 1 May 2025 21:43:30 +0200 Subject: [PATCH 1/2] haskellPackages.pinecone: disable network dependent tests --- pkgs/development/haskell-modules/configuration-nix.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index ab3a42259dc0..faa92fcfeb14 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -1519,6 +1519,9 @@ builtins.intersectAttrs super { ''; }) super.jacinda; + # Needs network access + pinecone = dontCheck super.pinecone; + # Smoke test can't be executed in sandbox # https://github.com/georgefst/evdev/issues/25 evdev = overrideCabal (drv: { From ca10fead0feef909d7f4bea5eae016c833a78668 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Thu, 1 May 2025 21:50:12 +0200 Subject: [PATCH 2/2] 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;