vimPlugins.sql-nvim: Set a default libsqlite3.so
The plugin relies on sqlite to work. Also, telescosope-frecency-nvim depends on sql-nvim
This commit is contained in:
parent
5a89bde3c0
commit
64e4778694
1 changed files with 9 additions and 2 deletions
|
@ -297,8 +297,11 @@ self: super: {
|
|||
});
|
||||
|
||||
sql-nvim = super.sql-nvim.overrideAttrs(old: {
|
||||
buildInputs = [ sqlite ];
|
||||
});
|
||||
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"
|
||||
'';
|
||||
});
|
||||
|
||||
sved = let
|
||||
# we put the script in its own derivation to benefit the magic of wrapGAppsHook
|
||||
|
@ -687,6 +690,10 @@ self: super: {
|
|||
'';
|
||||
});
|
||||
|
||||
telescope-frecency-nvim = super.telescope-frecency-nvim.overrideAttrs(old: {
|
||||
dependencies = [ self.sql-nvim ];
|
||||
});
|
||||
|
||||
telescope-fzy-native-nvim = super.telescope-fzy-native-nvim.overrideAttrs (old: {
|
||||
preFixup =
|
||||
let
|
||||
|
|
Loading…
Reference in a new issue