LanguageClient-neovim
LanguageClient-neovim copied to clipboard
Build failure on NixOS 20.3
Hi. I tried to build release 0.1.158 using current NixOS 20.3 (nixpkgs hash 076c67fdea6d0529a568c7d0e0a72e6bc161ecf5)
The build complains that it can't find anyhow package. Could it be an undeclared dependency?
Exact build error is
building '/nix/store/rm8jsyj7wkdlm5dv61bb03l96dr3mxm1-LanguageClient-neovim-bin.drv'...
unpacking sources
unpacking source archive /nix/store/1x2hgppx6gfhk0jjcvjp94aaymqxvkwg-0.1.158.tar.gz
source root is LanguageClient-neovim-0.1.158
unpacking source archive /nix/store/xg5277b9bjssdkshyiggsxh3rlh3xb8q-LanguageClient-neovim-bin-vendor
setting SOURCE_DATE_EPOCH to timestamp 1593930874 of file LanguageClient-neovim-0.1.158/tests/wrapper-server.sh
patching sources
configuring
building
++ env CC_x86_64-unknown-linux-gnu=/nix/store/m6h7zh8w6s52clnyskffj5lbkakqgywn-gcc-wrapper-9.2.0/bin/cc CXX_x86_64-unknown-linux-gnu=/nix/store/m6h7zh8w6s52clny
skffj5lbkakqgywn-gcc-wrapper-9.2.0/bin/c++ CC_x86_64-unknown-linux-gnu=/nix/store/m6h7zh8w6s52clnyskffj5lbkakqgywn-gcc-wrapper-9.2.0/bin/cc CXX_x86_64-unknown-l
inux-gnu=/nix/store/m6h7zh8w6s52clnyskffj5lbkakqgywn-gcc-wrapper-9.2.0/bin/c++ cargo build --release --target x86_64-unknown-linux-gnu --frozen
error: no matching package named `anyhow` found
location searched: registry `https://github.com/rust-lang/crates.io-index`
required by package `languageclient v0.1.158 (/build/LanguageClient-neovim-0.1.158)`
builder for '/nix/store/rm8jsyj7wkdlm5dv61bb03l96dr3mxm1-LanguageClient-neovim-bin.drv' failed with exit code 101
cannot build derivation '/nix/store/dyqlmfvf7bjl46cv9nw61hxfrivvv44i-vimplugin-LanguageClient-neovim-0.1.158.drv': 1 dependencies couldn't be built
Note, that the 0.1.157 also failes due to another package named derivative. The latest release which I was able to build is 0.1.156. The build expression is similar to this one
https://github.com/NixOS/nixpkgs/blob/076c67fdea6d0529a568c7d0e0a72e6bc161ecf5/pkgs/misc/vim-plugins/overrides.nix#L57