From 0f50d5ac1962981fca7622d3f45f8cd9a2b9a1f2 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Fri, 24 Nov 2017 20:14:28 +0100 Subject: [PATCH] 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. --- pkgs/development/python-modules/trollius/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/trollius/default.nix b/pkgs/development/python-modules/trollius/default.nix index ef367c3525d3..7b61633a7fc7 100644 --- a/pkgs/development/python-modules/trollius/default.nix +++ b/pkgs/development/python-modules/trollius/default.nix @@ -13,7 +13,7 @@ buildPythonPackage rec { buildInputs = [ mock ]; - propagatedBuildInputs = lib.optional (isPy27 || isPyPy) [ futures ]; + propagatedBuildInputs = lib.optionals (isPy27 || isPyPy) [ futures ]; patches = [ ./tests.patch