Closed rvolosatovs closed 4 years ago
cp: cannot stat '/nix/store/bf7vv7axnj3ispv4ac6xaf427zncrj3n-luajit-2.1.0-beta3-luv-1.30.0-0/luv-1.30.0-0-rocks/luv/1.30.0-0/lib/libluv.1.dylib': No such file or directory
seems related to me. Actually wrong issue. Take a look at #81206
Except for darwin there's now a different (yet similar) error after solving that one; see https://hydra.nixos.org/job/nixpkgs/trunk/neovim-unwrapped.x86_64-darwin
Issue description
Since https://github.com/neovim/neovim/pull/10123
neovim
requireslibluv
for builds. See https://github.com/neovim/neovim/wiki/Following-HEAD#20190610There's no released version yet containing this change, but it's nice to prepare for this already in order to simplify the update later.
The build on https://github.com/rvolosatovs/nixpkgs/commit/2b7a3bb484b9312ab500f106e50d3250f6866be7 fails for me with:
I have no experience with either CMake or Lua, so it's quite hard for me to reason about this and debug, but as far as I understand the issue is that build requires
luv.h
(https://github.com/luvit/luv/blob/1.30.0-0/src/luv.h ???) to be present at build time andluaPackages.luv
does not contain it:Refs https://github.com/neovim/neovim/issues/10181 https://github.com/neovim/neovim/pull/10359#issuecomment-506741724
cc @manveru