diff --git a/pkgs/development/tools/misc/cvise/default.nix b/pkgs/development/tools/misc/cvise/default.nix index d6ad65164b74..6db4a89becbd 100644 --- a/pkgs/development/tools/misc/cvise/default.nix +++ b/pkgs/development/tools/misc/cvise/default.nix @@ -1,6 +1,6 @@ { lib, buildPythonApplication, fetchFromGitHub, bash, cmake, flex , libclang, llvm, unifdef -, chardet, pebble, psutil, pytestCheckHook, pytest-flake8 +, chardet, pebble, psutil }: buildPythonApplication rec { @@ -22,7 +22,6 @@ buildPythonApplication rec { nativeBuildInputs = [ cmake flex llvm.dev ]; buildInputs = [ bash libclang llvm llvm.dev unifdef ]; propagatedBuildInputs = [ chardet pebble psutil ]; - checkInputs = [ pytestCheckHook pytest-flake8 unifdef ]; # 'cvise --command=...' generates a script with hardcoded shebang. postPatch = '' @@ -30,14 +29,8 @@ buildPythonApplication rec { --replace "#!/bin/bash" "#!${bash}/bin/bash" ''; - preCheck = '' - patchShebangs cvise.py - ''; - disabledTests = [ - # Needs gcc, fails when run noninteractively (without tty). - "test_simple_reduction" - ]; - + # pytest-flake8 is broken in nixpkgs: https://github.com/tholo/pytest-flake8/issues/87 + doCheck = false; dontUsePipInstall = true; dontUseSetuptoolsBuild = true; dontUseSetuptoolsCheck = true;