vimPlugins.nvim-spectre: fix spectre_oxi build on darwin

the upstream Rust dependency has been fixed for macOS.
This commit is contained in:
winston
2024-05-27 21:44:25 +02:00
committed by Matthieu Coudron
parent 21e8952429
commit 72f9049d6e
2 changed files with 4 additions and 5 deletions
@@ -8274,8 +8274,8 @@ final: prev:
src = fetchFromGitHub {
owner = "nvim-pack";
repo = "nvim-spectre";
rev = "5690ea46baf08bbc1623980012e14b6239ce582e";
sha256 = "14m9hp7rr7qldqsl40k1jiqyk44bndq4pfibb08xcqp8hqn8f3q1";
rev = "366f46fdd4a1593cc237aea13d5ef113739a472c";
sha256 = "sha256-JS0kfM+uxwC/z8bdkdkaC+MAJIyvlvXsi3BDJuBxADA=";
};
meta.homepage = "https://github.com/nvim-pack/nvim-spectre/";
};
@@ -1091,19 +1091,18 @@
cargoHash = "sha256-7V4RyWIo9gL3ir4Pay8CMIVn6cXjJi9sgKVOENG4muQ=";
preCheck = ''
mkdir tests/tmp/
'';
};
in
(lib.optionalAttrs stdenv.isLinux {
{
dependencies = with self;
[ plenary-nvim ];
postInstall = ''
ln -s ${spectre_oxi}/lib/libspectre_oxi.* $out/lua/spectre_oxi.so
'';
}));
});
nvim-teal-maker = super.nvim-teal-maker.overrideAttrs {
postPatch = ''