Merge pull request #137290 from jonringer/fix-vimplugins-sqlite

vimPlugins.sqlite-lua: fix patching of sqlite3 cpath
This commit is contained in:
Sandro 2021-09-10 19:06:41 +02:00 committed by GitHub
commit 6d75b0f25c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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'"
'';
});