From cab5dc490e44dc9345b1f6db1a910790be3b7714 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Fri, 9 Sep 2022 19:50:22 +0200 Subject: [PATCH] haskellPackages.evdev: disable test broken by sandbox Closes #189673. --- pkgs/development/haskell-modules/configuration-nix.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 75ecab40ad59..db03076fffad 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -980,6 +980,14 @@ self: super: builtins.intersectAttrs super { ''; }) super.jacinda; + # Smoke test can't be executed in sandbox + # https://github.com/georgefst/evdev/issues/25 + evdev = overrideCabal (drv: { + testFlags = drv.testFlags or [] ++ [ + "-p" "!/Smoke/" + ]; + }) super.evdev; + # Tests assume dist-newstyle build directory is present cabal-hoogle = dontCheck super.cabal-hoogle;