Skip to content

Commit

Permalink
neovim: fix missing dependancy luajit lpeg
Browse files Browse the repository at this point in the history
luajit libraries are not the same as vanilla lua ones, hence when luajit
is enabled, the build fails.
Fixes #14442

(cherry picked from commit 9889c1c)
  • Loading branch information
teto authored and Mic92 committed Sep 3, 2017
1 parent 313ea79 commit 2eecbcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/editors/neovim/default.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, cmake, gettext, libmsgpack, libtermkey
, libtool, libuv, luajit, luaPackages, ncurses, perl, pkgconfig
, libtool, libuv, luajit, luajitPackages, luaPackages, ncurses, perl, pkgconfig
, unibilium, makeWrapper, vimUtils, xsel, gperf

, withPython ? true, pythonPackages, extraPythonPackages ? []
Expand Down Expand Up @@ -115,7 +115,7 @@ let
LUA_PATH = stdenv.lib.concatStringsSep ";" (map luaPackages.getLuaPath lualibs);
LUA_CPATH = stdenv.lib.concatStringsSep ";" (map luaPackages.getLuaCPath lualibs);

lualibs = [ luaPackages.mpack luaPackages.lpeg luaPackages.luabitop ];
lualibs = [ luaPackages.mpack luaPackages.lpeg luajitPackages.lpeg luaPackages.luabitop ];

cmakeFlags = [
"-DLUA_PRG=${luaPackages.lua}/bin/lua"
Expand Down

0 comments on commit 2eecbcc

Please sign in to comment.