From 7dd7638cba521e527d41a15d6e56cb24cfe95c4c Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 13 Mar 2018 22:30:06 +0100 Subject: 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 --- pkgs/development/python-modules/diff_cover/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs/development/python-modules/diff_cover/default.nix') diff --git a/pkgs/development/python-modules/diff_cover/default.nix b/pkgs/development/python-modules/diff_cover/default.nix index b8286e7d6b1b..57f0a1ef2381 100644 --- a/pkgs/development/python-modules/diff_cover/default.nix +++ b/pkgs/development/python-modules/diff_cover/default.nix @@ -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"; -- cgit 1.4.1