diff options
author | winston <hey@winston.sh> | 2024-05-26 12:48:20 +0200 |
---|---|---|
committer | Matthieu Coudron <886074+teto@users.noreply.github.com> | 2024-05-27 21:44:25 +0200 |
commit | 72f9049d6efcba4b47dcfa8dea2b042ec90dc949 (patch) | |
tree | 5a2ddf01b5afabcaa667decf230dc60209e166d7 /pkgs/applications/editors | |
parent | 21e8952429bef7bcddd3a1b3d653e243fed6aa2d (diff) |
vimPlugins.nvim-spectre: fix `spectre_oxi` build on darwin
the upstream Rust dependency has been fixed for macOS.
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/vim/plugins/generated.nix | 4 | ||||
-rw-r--r-- | pkgs/applications/editors/vim/plugins/overrides.nix | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/applications/editors/vim/plugins/generated.nix b/pkgs/applications/editors/vim/plugins/generated.nix index b2f677726e30b..71110db1f38e3 100644 --- a/pkgs/applications/editors/vim/plugins/generated.nix +++ b/pkgs/applications/editors/vim/plugins/generated.nix @@ -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/"; }; diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index 835ddde43d263..8f24b92251c9f 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -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 = '' |