lua-packages: fix getLuaPath and getLuaCPath
luaLib.luaPathList is a list and not a function anymore which results in
the following error:
error: attempt to call something which is not a function but a list
at /nix/store/v94vpi9na0flcnhh9gbmzcvbgfzqm10g-source/pkgs/top-level/lua-packages.nix:50:35:
49| getLuaPath = drv: getPath drv (luaLib.luaPathList lua.luaversion) ;
50| getLuaCPath = drv: getPath drv (luaLib.luaCPathList lua.luaversion) ;
| ^
51|
This commit is contained in:
committed by
Michael Adler
parent
549044ea1c
commit
3864442136
@@ -46,8 +46,8 @@ in
|
||||
# helper functions for dealing with LUA_PATH and LUA_CPATH
|
||||
lib = luaLib;
|
||||
|
||||
getLuaPath = drv: getPath drv (luaLib.luaPathList lua.luaversion) ;
|
||||
getLuaCPath = drv: getPath drv (luaLib.luaCPathList lua.luaversion) ;
|
||||
getLuaPath = drv: getPath drv luaLib.luaPathList;
|
||||
getLuaCPath = drv: getPath drv luaLib.luaCPathList;
|
||||
|
||||
inherit (callPackage ../development/interpreters/lua-5/hooks { inherit (args) lib;})
|
||||
lua-setup-hook;
|
||||
|
||||
Reference in New Issue
Block a user