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

Eval of neovim was broken at
https://github.com/NixOS/nixpkgs/commit/40851a4d26daabf1613c9a79e638aaf9f94b476c#commitcomment-25817374.
This commit is contained in:
Frederik Rietdijk
2017-11-24 20:14:28 +01:00
parent 7a13e5a7df
commit 0f50d5ac19
@@ -13,7 +13,7 @@ buildPythonPackage rec {
buildInputs = [ mock ];
propagatedBuildInputs = lib.optional (isPy27 || isPyPy) [ futures ];
propagatedBuildInputs = lib.optionals (isPy27 || isPyPy) [ futures ];
patches = [
./tests.patch