about summary refs log tree commit diff
path: root/pkgs/applications/editors/vim/qvim.nix
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2014-04-25 19:04:47 -0500
committerBjørn Forsman <bjorn.forsman@gmail.com>2014-04-29 22:19:58 +0200
commit7896a84849284e2bd274632691eb1f2f97aecaaf (patch)
tree44fc1338850b521099e026ed2c5585e622ef9555 /pkgs/applications/editors/vim/qvim.nix
parentca3c2b7b2a35fe41cab573cc25496a7efd765758 (diff)
downloadnixlib-7896a84849284e2bd274632691eb1f2f97aecaaf.tar
nixlib-7896a84849284e2bd274632691eb1f2f97aecaaf.tar.gz
nixlib-7896a84849284e2bd274632691eb1f2f97aecaaf.tar.bz2
nixlib-7896a84849284e2bd274632691eb1f2f97aecaaf.tar.lz
nixlib-7896a84849284e2bd274632691eb1f2f97aecaaf.tar.xz
nixlib-7896a84849284e2bd274632691eb1f2f97aecaaf.tar.zst
nixlib-7896a84849284e2bd274632691eb1f2f97aecaaf.zip
qvim: add lua support
Diffstat (limited to 'pkgs/applications/editors/vim/qvim.nix')
-rw-r--r--pkgs/applications/editors/vim/qvim.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/applications/editors/vim/qvim.nix b/pkgs/applications/editors/vim/qvim.nix
index 15a147319a15..2357e23bf014 100644
--- a/pkgs/applications/editors/vim/qvim.nix
+++ b/pkgs/applications/editors/vim/qvim.nix
@@ -61,7 +61,17 @@ composableDerivation {
 
       // edf { name = "tcl"; enable = { nativeBuildInputs = [tcl]; }; } #Include Tcl interpreter.
       // edf { name = "ruby"; feat = "rubyinterp"; enable = { nativeBuildInputs = [ruby]; };} #Include Ruby interpreter.
-      // edf { name = "lua" ; feat = "luainterp"; enable = { nativeBuildInputs = [lua]; configureFlags = ["--with-lua-prefix=${args.lua}"];};}
+      // edf {
+        name = "lua";
+        feat = "luainterp";
+        enable = {
+          nativeBuildInputs = [lua];
+          configureFlags = [
+            "--with-lua-prefix=${args.lua}"
+            "--enable-luainterp"
+          ];
+        };
+      }
       // edf { name = "cscope"; } #Include cscope interface.
       // edf { name = "workshop"; } #Include Sun Visual Workshop support.
       // edf { name = "netbeans"; } #Disable NetBeans integration support.
@@ -76,6 +86,7 @@ composableDerivation {
       ;
 
   cfg = {
+    luaSupport       = config.vim.lua or true;
     pythonSupport    = config.vim.python or true;
     rubySupport      = config.vim.ruby or true;
     nlsSupport       = config.vim.nls or false;