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, lib,
nose, nose,
six, six,
typing,
isPy27,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -15,7 +17,7 @@ buildPythonPackage rec {
sha256 = "0zjf9nczl1ifzj07bgs6mwxsfd5xck9l0lchv2j0fv2n481xp2v7"; sha256 = "0zjf9nczl1ifzj07bgs6mwxsfd5xck9l0lchv2j0fv2n481xp2v7";
}; };
propagatedBuildInputs = [ six ]; propagatedBuildInputs = [ six ] ++ lib.optional isPy27 typing;
checkInputs = [ nose ]; checkInputs = [ nose ];
# Tests currently failing. # Tests currently failing.