diff options
author | Matthieu Coudron <mcoudron@hotmail.com> | 2020-11-01 18:50:37 +0100 |
---|---|---|
committer | Matthieu Coudron <mattator@gmail.com> | 2020-11-01 18:55:57 +0100 |
commit | 295948f40fea63cc7de2f37693dbda16d49ddeb1 (patch) | |
tree | 1decbe9c58e33a41a9d2e67c7805465a2b31f4e4 | |
parent | 4fe0ea478a0ce98ebd919ffa62506c6151ac7a98 (diff) |
neovim: dont wrap when is null
restore previous behavior
-rw-r--r-- | pkgs/applications/editors/neovim/utils.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/applications/editors/neovim/utils.nix b/pkgs/applications/editors/neovim/utils.nix index 15d3f214057f..d3af8ca5d59a 100644 --- a/pkgs/applications/editors/neovim/utils.nix +++ b/pkgs/applications/editors/neovim/utils.nix @@ -148,8 +148,9 @@ let in wrapNeovimUnstable neovim (res // { wrapperArgs = lib.escapeShellArgs ( - res.wrapperArgs ++ [ "--add-flags" "-u ${writeText "init.vim" res.neovimRcContent}" ]) - + " " + extraMakeWrapperArgs + res.wrapperArgs ++ lib.optionals (configure != {}) [ + "--add-flags" "-u ${writeText "init.vim" res.neovimRcContent}" + ]) + " " + extraMakeWrapperArgs ; }); in |