vimPlugins.sqlite-lua: fix patching of sqlite3 cpath

This commit is contained in:
Jonathan Ringer 2021-09-10 08:12:46 -07:00
parent e88ad7f819
commit 099283ceca

@ -481,8 +481,8 @@ self: super: {
sqlite-lua = super.sqlite-lua.overrideAttrs (old: {
postPatch = ''
substituteInPlace lua/sql/defs.lua \
--replace "vim.g.sql_clib_path or" "vim.g.sql_clib_path or '${sqlite.out}/lib/libsqlite3.so' or"
substituteInPlace lua/sqlite/defs.lua \
--replace "vim.g.sqlite_clib_path" "vim.g.sqlite_clib_path or '${sqlite.out}/lib/libsqlite3.so'"
'';
});