From 5658324d82b46cfb6561cd12f2754a4c10cacf20 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Sat, 18 Mar 2017 20:01:15 +0200 Subject: [PATCH] neovim: Fix eval error Not sure at all if this is the right thing to do. cc @edanaher --- pkgs/applications/editors/neovim/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix index 6d5a37509fc..3f2058af133 100644 --- a/pkgs/applications/editors/neovim/default.nix +++ b/pkgs/applications/editors/neovim/default.nix @@ -53,7 +53,7 @@ let rubyWrapper = ''--suffix PATH : \"${rubyEnv}/bin\" '' + ''--suffix GEM_HOME : \"${rubyEnv}/${rubyEnv.ruby.gemPath}\" ''; - pluginPythonPackages = builtins.concatLists + pluginPythonPackages = if configure == null then [] else builtins.concatLists (map ({ pythonDependencies ? [], ...}: pythonDependencies) (vimUtils.requiredPlugins configure)); pythonEnv = pythonPackages.python.buildEnv.override { @@ -66,7 +66,7 @@ let }; pythonWrapper = ''--cmd \"let g:python_host_prog='$out/bin/nvim-python'\" ''; - pluginPython3Packages = builtins.concatLists + pluginPython3Packages = if configure == null then [] else builtins.concatLists (map ({ python3Dependencies ? [], ...}: python3Dependencies) (vimUtils.requiredPlugins configure)); python3Env = python3Packages.python.buildEnv.override {