weechat-matrix-bridge: use luaffi from luaPackages

This commit is contained in:
Luka Blaskovic 2019-08-24 10:01:01 +00:00
parent e9b136e400
commit 55ae5ff593
2 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@
};
weechat-matrix-bridge = callPackage ./weechat-matrix-bridge {
inherit (luaPackages) cjson;
inherit (luaPackages) cjson luaffi;
};
wee-slack = callPackage ./wee-slack {

View file

@ -31,9 +31,9 @@ stdenv.mkDerivation {
mkdir -p $out/{share,lib}
cp {matrix.lua,olm.lua} $out/share
cp ${cjson}/lib/lua/5.2/cjson.so $out/lib/cjson.so
cp ${cjson}/lib/lua/${cjson.lua.luaversion}/cjson.so $out/lib/cjson.so
cp ${olm}/lib/libolm.so $out/lib/libolm.so
cp ${luaffi}/lib/ffi.so $out/lib/ffi.so
cp ${luaffi}/lib/lua/${luaffi.lua.luaversion}/ffi.so $out/lib/ffi.so
'';
meta = with stdenv.lib; {