summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/editors/vim/plugins/overrides.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/vim/plugins/overrides.nix')
-rw-r--r--pkgs/applications/editors/vim/plugins/overrides.nix18
1 files changed, 16 insertions, 2 deletions
diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix
index 8546e80047c1..fa175badfd7b 100644
--- a/pkgs/applications/editors/vim/plugins/overrides.nix
+++ b/pkgs/applications/editors/vim/plugins/overrides.nix
@@ -20,8 +20,10 @@
, dasht
, direnv
, fzf
+, gawk
, gnome
, himalaya
+, jq
, khard
, languagetool
, llvmPackages
@@ -300,6 +302,18 @@ self: super: {
'';
});
+ fzf-hoogle-vim = super.fzf-hoogle-vim.overrideAttrs (old: {
+
+ # add this to your lua config to prevent the plugin from trying to write in the
+ # nix store:
+ # vim.g.hoogle_fzf_cache_file = vim.fn.stdpath('cache')..'/hoogle_cache.json'
+ propagatedBuildInputs = [
+ jq
+ gawk
+ ];
+ dependencies = with self; [ fzf-vim ];
+ });
+
fzf-lua = super.fzf-lua.overrideAttrs (old: {
propagatedBuildInputs = [ fzf ];
});
@@ -845,7 +859,7 @@ self: super: {
let
maple-bin = rustPlatform.buildRustPackage {
name = "maple";
- src = old.src;
+ inherit (old) src;
nativeBuildInputs = [
pkg-config
@@ -860,7 +874,7 @@ self: super: {
libiconv
];
- cargoSha256 = "0l1x7kprnxa95pbf8ml9ixmj0cmbnnv6nd0v6qry8j67rx8plpmp";
+ cargoSha256 = "sha256-XmQTRmOO/tyA0F6FQQRxZPcVXCYZkEAiNIzU/ismjc0=";
};
in
''