python.pkgs.trollius: use optionals instead of optional, fixes eval for neovim

Eval of neovim was broken at
40851a4d26 (commitcomment-25817374).
This commit is contained in:
Frederik Rietdijk 2017-11-24 20:14:28 +01:00
parent 7a13e5a7df
commit 0f50d5ac19

View File

@ -13,7 +13,7 @@ buildPythonPackage rec {
buildInputs = [ mock ]; buildInputs = [ mock ];
propagatedBuildInputs = lib.optional (isPy27 || isPyPy) [ futures ]; propagatedBuildInputs = lib.optionals (isPy27 || isPyPy) [ futures ];
patches = [ patches = [
./tests.patch ./tests.patch