New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build fails on macOS using nix #5896
Comments
Have you built successfully in this environment before? Is there anything in CMakeOutput.log or CMakeError.log that looks relevant? If you |
No, I have not, that's why I felt mentioning nix is relevant. CMakeOutput.log: https://gist.github.com/73bdf8fc03f79e525d302e991bfe62a4 Nope, same error as before. I can post the full output if that would help. |
Yup, installed brew and now it all works fine. Weird. |
According to the Nix IRC, this is expected and there isn't much that can be done. According to them, I should be using Nix to build neovim and specify all dependencies explicitly. |
It's a simple fix. For anyone in the future! Run cd path/to/neovim
nix-shell '<nixpkgs>' -A neovim
patchPhase
cmakeConfigurePhase
buildPhase
installPhase And then enjoy :) |
@nhooyr I'm trying to replace Homebrew with Nix and what confuses me is that to execute Neovim after it is build I need to switch the Nix environment with |
@tssm you'll need to learn about nix' profiles so you can deploy neovim either in your current profile, or a given profile you'll switch to. |
Thanks @guyzmo! |
nvim --version
: using latest master$TERM
: xterm-256colorActual behaviour
I cloned the repository and then:
I am using nix on darwin (i have a feeling this is relevant).
Expected behaviour
No error, successful build.
The text was updated successfully, but these errors were encountered: