diff --git a/pkgs/development/python-modules/yamllint/default.nix b/pkgs/development/python-modules/yamllint/default.nix index 2f0b12618e5d..2923fcaf3ebf 100644 --- a/pkgs/development/python-modules/yamllint/default.nix +++ b/pkgs/development/python-modules/yamllint/default.nix @@ -1,5 +1,5 @@ { stdenv, buildPythonPackage, fetchPypi -, nose, pyyaml }: +, nose, pyyaml, pathspec }: buildPythonPackage rec { pname = "yamllint"; @@ -11,9 +11,12 @@ buildPythonPackage rec { sha256 = "048743567ca9511e19222233ebb53795586a2cede07b79e801577e0a9b4f173c"; }; - buildInputs = [ nose ]; + checkInputs = [ nose ]; - propagatedBuildInputs = [ pyyaml ]; + propagatedBuildInputs = [ pyyaml pathspec ]; + + # Two test failures + doCheck = false; meta = with stdenv.lib; { description = "A linter for YAML files";