From 88ad7c8ef621069774a3f0b5ec887137ec29ce08 Mon Sep 17 00:00:00 2001 From: sternenseemann <0rpkxez4ksa01gb3typccl0i@systemli.org> Date: Thu, 20 May 2021 10:28:21 +0200 Subject: [PATCH] haskellPackages.alpaca-netcode: disable flaky test --- pkgs/development/haskell-modules/configuration-common.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index af5711bc199a..959409531a13 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1936,4 +1936,12 @@ EOT # https://github.com/batterseapower/parallel-io/issues/14 parallel-io = doJailbreak super.parallel-io; + # Disable flaky tests + # https://github.com/DavidEichmann/alpaca-netcode/issues/2 + alpaca-netcode = overrideCabal super.alpaca-netcode { + # use testTarget to also pass some flags to the test suite. + # TODO: We should add proper support for this to the builder. + testTarget = "test --test-options='-p \"!/[NOCI]/\"'"; + }; + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super