pythonPackages.class-registry: Add typing propagatedBuildInput when using python2

This commit is contained in:
Sebastian Jordan 2020-11-22 21:23:22 +01:00 committed by Frederik Rietdijk
parent 7509f7ca5b
commit 263ddd73cd

View file

@ -4,6 +4,8 @@
lib,
nose,
six,
typing,
isPy27,
}:
buildPythonPackage rec {
@ -15,7 +17,7 @@ buildPythonPackage rec {
sha256 = "0zjf9nczl1ifzj07bgs6mwxsfd5xck9l0lchv2j0fv2n481xp2v7";
};
propagatedBuildInputs = [ six ];
propagatedBuildInputs = [ six ] ++ lib.optional isPy27 typing;
checkInputs = [ nose ];
# Tests currently failing.