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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user