pythonPackages.diff_cover: fix build

In order to adjust the language with `LC_ALL` properly the
`glibcLocales` is needed as `checkInput`. This was the only thing
preventing the testsuite from passing.

See ticket #36453
See https://hydra.nixos.org/build/70682982/nixlog/3
This commit is contained in:
Maximilian Bosch 2018-03-13 22:30:06 +01:00
parent 4f17851fb2
commit 7dd7638cba
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E

View File

@ -1,6 +1,6 @@
{ stdenv, buildPythonPackage, fetchPypi, jinja2, jinja2_pluralize, pygments,
six, inflect, mock, nose, coverage, pycodestyle, flake8, pyflakes, git,
pylint, pydocstyle, fetchpatch }:
pylint, pydocstyle, fetchpatch, glibcLocales }:
buildPythonPackage rec {
pname = "diff_cover";
@ -25,7 +25,7 @@ buildPythonPackage rec {
propagatedBuildInputs = [ jinja2 jinja2_pluralize pygments six inflect ];
checkInputs = [ mock nose coverage pycodestyle flake8 pyflakes pylint pydocstyle git ];
checkInputs = [ mock nose coverage pycodestyle flake8 pyflakes pylint pydocstyle git glibcLocales ];
meta = with stdenv.lib; {
description = "Automatically find diff lines that need test coverage";