diff options
author | Doron Behar <doron.behar@gmail.com> | 2020-06-20 11:53:02 +0300 |
---|---|---|
committer | Matthieu Coudron <mattator@gmail.com> | 2020-06-21 14:45:11 +0200 |
commit | 8acdd6db799d46450af5320d529f0b19f9c9e4c4 (patch) | |
tree | 5c64f25358c79c9344dcc0a3efebbc4381e486bf /pkgs/applications/editors/vim | |
parent | 30adb1fb9ebbd10905eee540f309235407d56d43 (diff) |
vim_configureable: improve luajit support
Diffstat (limited to 'pkgs/applications/editors/vim')
-rw-r--r-- | pkgs/applications/editors/vim/configurable.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vim/configurable.nix b/pkgs/applications/editors/vim/configurable.nix index 3b37c805cdd7..83c8533f5cdf 100644 --- a/pkgs/applications/editors/vim/configurable.nix +++ b/pkgs/applications/editors/vim/configurable.nix @@ -104,6 +104,8 @@ in stdenv.mkDerivation rec { ++ stdenv.lib.optionals luaSupport [ "--with-lua-prefix=${lua}" "--enable-luainterp" + ] ++ stdenv.lib.optional lua.pkgs.isLuaJIT [ + "--with-luajit" ] ++ stdenv.lib.optionals pythonSupport [ "--enable-python${if isPython3 then "3" else ""}interp=yes" |