Merge pull request #140483 from michaeladler/fix-lua-path

lua-packages: fix getLuaPath and getLuaCPath
This commit is contained in:
figsoda 2021-10-04 10:53:19 -04:00 committed by GitHub
commit f3f96c2422
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;