From f3a3ddb87b1c6f9a36e0bef25e4e84560ed596fe Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Mon, 27 Dec 2021 14:58:34 +0100 Subject: [PATCH] haskellPackages.http-api-data-qq: disable network dependent test --- pkgs/development/haskell-modules/configuration-nix.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 239382fe83ad..86a60fd9097a 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -1041,4 +1041,11 @@ self: super: builtins.intersectAttrs super { }) ] ++ (drv.patches or []); }) super.graphviz; + + # Test case tries to contact the network + http-api-data-qq = overrideCabal (drv: { + testFlags = [ + "-p" "!/Can be used with http-client/" + ] ++ drv.testFlags or []; + }) super.http-api-data-qq; }