Skip to content

Commit

Permalink
python.pkgs.traitlets: fix build and don't include .pytest_cache
Browse files Browse the repository at this point in the history
Fixes build and prevents including `.pytest_cache` file (#40259).
  • Loading branch information
FRidh committed May 10, 2018
1 parent 0fd655f commit 3390592
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions pkgs/development/python-modules/traitlets/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
, ipython_genutils
, decorator
, enum34
, pythonOlder
, six
}:

buildPythonPackage rec {
Expand All @@ -20,12 +22,14 @@ buildPythonPackage rec {
};

checkInputs = [ glibcLocales pytest mock ];
propagatedBuildInputs = [ ipython_genutils decorator enum34 ];
propagatedBuildInputs = [ ipython_genutils decorator six ] ++ lib.optional (pythonOlder "3.4") enum34;

checkPhase = ''
LC_ALL="en_US.UTF-8" py.test $out
LC_ALL="en_US.UTF-8" py.test
'';

# doCheck = false;

meta = {
description = "Traitlets Python config system";
homepage = http://ipython.org/;
Expand Down

0 comments on commit 3390592

Please sign in to comment.