Package Details: neovim-coc-rust-analyzer-git r1222.dc17ad2-1

Git Clone URL: https://aur.archlinux.org/neovim-coc-rust-analyzer-git.git (read-only, click to copy)
Package Base: neovim-coc-rust-analyzer-git
Description: rust-analyzer extension for coc.nvim
Upstream URL: https://github.com/fannheyward/coc-rust-analyzer
Keywords: lsp
Licenses: MIT
Conflicts: neovim-coc-rust-analyzer
Provides: neovim-coc-rust-analyzer
Submitter: sainnhe
Maintainer: sainnhe
Last Packager: sainnhe
Votes: 1
Popularity: 0.002028
First Submitted: 2020-07-29 12:13 (UTC)
Last Updated: 2022-06-26 12:00 (UTC)

Latest Comments

sainnhe commented on 2022-06-26 12:01 (UTC)

@lolo: Should be fixed now.

lolo commented on 2022-06-24 20:21 (UTC)

package() fails with


 ==> Starting package()...
yarn pack v1.22.19
success Wrote tarball to "/home/$USER/.cache/yay/neovim-coc-rust-analyzer-git/src/coc-rust-analyzer/coc-rust-analyzer-v0.64.0.tgz".
Done in 0.15s.
package
package/LICENSE
package/README.md
package/lib
package/package.json
package/lib/index.js
patching file /home/$USER/.cache/yay/neovim-coc-rust-analyzer-git/pkg/neovim-coc-rust-analyzer-git/usr/share/nvim/runtime/pack/coc/start/coc-rust-analyzer/package.json
Hunk #1 FAILED at 119.
1 out of 1 hunk FAILED -- saving rejects to file /home/$USER/.cache/yay/neovim-coc-rust-analyzer-git/pkg/neovim-coc-rust-analyzer-git/usr/share/nvim/runtime/pack/coc/start/coc-rust-analyzer/package.json.rej
==> ERROR: A failure occurred in package().
    Aborting...
 -> error making: neovim-coc-rust-analyzer-git

and here is package.json.rej:


--- package.json.old    2021-03-28 10:43:05.597743453 +0800
+++ package.json.new    2021-03-28 10:44:14.837746213 +0800
@@ -119,7 +119,7 @@
             "null",
             "string"
           ],
-          "default": null,
+          "default": "/usr/bin/rust-analyzer",
           "description": "Path to rust-analyzer executable (points to bundled binary by default). If this is set, then \"rust-analyzer.updates.channel\" setting is not used"
         },
         "rust-analyzer.server.extraEnv": {