Giter VIP home page Giter VIP logo

neovim-nightly-overlay's Introduction

To use the overlay

Add the overlay to your home.nix (home-manager) or configuration.nix (nixos):

{
  nixpkgs.overlays = [
    (import (builtins.fetchTarball {
      url = https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz;
    }))
  ];
}

If you are using flakes to configure your system, add to your nixpkgs overlays attribute (examples will differ, the following is for home-manager):

{
  inputs.neovim-nightly-overlay.url = "github:nix-community/neovim-nightly-overlay";
  outputs = { self, ... }@inputs:
    let
      overlays = [
          inputs.neovim-nightly-overlay.overlay
        ];
    in
      homeConfigurations = {
        macbook-pro = inputs.home-manager.lib.homeManagerConfiguration {
          configuration = { pkgs, ... }:
            {
              nixpkgs.overlays = overlays;
            };
        };
      };
}

Note, I recently switched the overlay to use flakes by default with flakes-compat for older nix. Please report issues if this breaks things.

Install neovim-nightly:

nix-env -iA pkgs.neovim-nightly

or add to home-manager/configuration.nix.

Install with nix profile:

nix profile --substituters https://nix-community.cachix.org --trusted-public-keys nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= install github:nix-community/neovim-nightly-overlay#neovim

Binary cache

You will want to use the nix-community binary cache. Where the overlay's build artefacts are pushed. See here for installation instructions.

neovim-nightly-overlay's People

Contributors

actions-user avatar dependabot[bot] avatar hercules-ci[bot] avatar ipetkov avatar kranzes avatar mjlbach avatar ryantm avatar zimbatm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

neovim-nightly-overlay's Issues

propose a panel of default configs

for instance:

  • nvim-treesitter
  • nvim-haskell-language-server
  • nvim-telescope

so that people can try out configurations that are sure to work/reproducible/pure (and thus can compare their config to those).
I've start sthg along these lines, it depends on PRs on nixpkgs.

`tsserver` not working correctly after installing `neovim-nightly-overlay` from another user.

I have two account in my macbook, one for work and the other is personal.

I installed nix for all the users and now that I created the new account, nvim returns this when working with tsx files. The error messages that LSP is showing should not be there.
Screenshot 2022-11-09 at 11 29 49

Do you know why this happens? It seems that the Nix path is okay.

This is my home-manager neovim config:

  programs.neovim = {
    enable = true;
    package = pkgs.neovim-nightly;
    viAlias = true;
    withPython3 = true;
    extraConfig = "luafile ${homeDir}/.config/nvim/init.lua";

    extraPackages = with pkgs; [
      texlab
      sqlite
      tree-sitter
      rust-analyzer
      sumneko-lua-language-server

      perlPackages.PLS
      # perl534Packages.PerlTidy
      perl534Packages.PerlCritic
      # nodePackages.prettier
      # nodePackages.prettier_d_slim

      nodePackages.eslint_d
      nodePackages.typescript
      nodePackages.typescript-language-server
      nodePackages.intelephense
      nodePackages.vim-language-server
      nodePackages.bash-language-server
      nodePackages.yaml-language-server
      nodePackages.vscode-langservers-extracted
      nodePackages.dockerfile-language-server-nodejs
      # nodePackages.pyright
      # customNodePackages.cssmodules-language-server
    ];
  };

I don't know if its related but every time that I want to rebuild, neovim-overlay tries to create a new init.lua to override mine. Before it created a init.vim that pointed to the lua file.

Info:
Computer: Macbook M1 Max with Monterrey
Neovim: NVIM v0.9.0-dev-179+g5cf820f38-dirty

Not installing Nightly

nvim --version still outputs 0.4.4

here i do the overlay and 5 lines below i install neovim-nightly as a systempackage:
https://github.com/breuerfelix/nixos/blob/d96df2f7097188979ac637549f7559afc6b3f5f8/configuration.nix#L63

this is my home manager configuration (note that i use globalPackages, thats why i have to do the override in the system config):
https://github.com/breuerfelix/nixos/blob/d96df2f7097188979ac637549f7559afc6b3f5f8/users.nix#L36

this is my neovim config in home manager:
https://github.com/breuerfelix/nixos/blob/main/shell/vim.nix

am i doing something wrong ? the whole repo is my current setup :) but i can provide more info if needed!

btw thanks for the package i am really looking forward to nightly! wanna try out all this LSP stuff :)

Trying any i. e. lua-based config

Hello,
I would like to integrate lua-based config (i. e. https://github.com/nathunsmitty/.config/blob/master/nvim/lua/lsp/init.lua) with neovim-nightly-overlay.

So far I tried :exe 'edit '.stdpath('config').'/init.vim' in nvim and put just

lua << EOF
local nvim_lsp = require('nvim_lsp')
EOF

as a test.

But when restarting nvim I get (shortened log):

Error detected while processing ~/.config/nvim/init.vim:
line 3:
E5108: Error executing lua [string ":lua"]:1: module 'nvim_lsp' not found:
no field package.preload['nvim_lsp']
no file './nvim_lsp.lua'
no file '/nix/store/62h7raxpscqaq0fzqzjk0dbgsr4njxij-luajit-2.1.0-2020-09-30/share/luajit-2.1.0-beta3/nvim_lsp.l
ua'
no file '/usr/local/share/lua/5.1/nvim_lsp.lua'
no file '/usr/local/share/lua/5.1/nvim_lsp/init.lua'
no file '/nix/store/62h7raxpscqaq0fzqzjk0dbgsr4njxij-luajit-2.1.0-2020-09-30/share/lua/5.1/nvim_lsp.lua'
no file '/nix/store/62h7raxpscqaq0fzqzjk0dbgsr4njxij-luajit-2.1.0-2020-09-30/share/lua/5.1/nvim_lsp/init.lua'

etc.

Could not find a valid `tsserver` executable in the workspace

nvim LSP can't find the tsserver binary.
To replicate, use this config:

{
    inputs.neovim-nightly-overlay.url = github:nix-community/neovim-nightly-overlay;
    outputs = inputs @ {
     }: let
    username = "m.manzanares";
    system = "x86_64-darwin";
    pkgs = import nixpkgs {
      inherit system;
      config = {allowUnfree = true;};
      overlays = [
        pkg-sets
        nur.overlay
        spacebar.overlay.x86_64-darwin
        neovim-nightly-overlay.overlay
      ];
    };
    configuration = {pkgs, ...}: {
      nix.package = pkgs.nixFlakes;
      services.nix-daemon.enable = true;
    };
  in {

      darwinConfigurations."bcn-marcel-manzanares" = darwin.lib.darwinSystem {
      inherit pkgs system;
      modules = [
        ./darwin-configuration.nix
        home-manager.darwinModules.home-manager
        {
          home-manager.useUserPackages = true;
          home-manager.useGlobalPkgs = true;
          home-manager.users."m.manzanares" = {
            imports = [./home-manager/home.nix];
          };
        }
      ];
    };

    # Expose the package set, including overlays, for convenience.
    darwinPackages = self.darwinConfigurations."bcn-marcel-manzanares".pkgs;
  };
}

in home.nix:

  programs.neovim = {
    enable = true;
    package = pkgs.neovim-nightly;
    viAlias = true;
    withPython3 = true;
    extraConfig = ''luafile ${homeDir}/.config/nvim/nix.init.lua'';

    extraPackages = with pkgs; [
      deno
      texlab
      stylua
      sqlite
      tree-sitter
      rust-analyzer
      sumneko-lua-language-server
      pkgs.rnix-lsp

      perlPackages.PLS
      perl534Packages.PerlTidy
      perl534Packages.PerlCritic
      nodePackages.prettier
      nodePackages.prettier_d_slim

      nodePackages.eslint_d
      nodePackages.typescript
      nodePackages.intelephense
      nodePackages.vim-language-server
      nodePackages.bash-language-server
      nodePackages.yaml-language-server
      nodePackages.typescript-language-server
      nodePackages.vscode-langservers-extracted
      nodePackages.dockerfile-language-server-nodejs
    ];
  };

The error return in nvim:

Error executing vim.schedule lua callback: ...ovim-unwrapped-master/share/nvim/runtime/lua/vim/lsp.lua:987: RPC[Error] code_name = InternalError, message = "R
equest initialize failed with message: Could not find a valid tsserver executable in the workspace or in the $PATH. Please ensure that the \"typescript\" depe
ndency is installed in either location. Exiting."
stack traceback:
        [C]: in function 'assert'
        ...ovim-unwrapped-master/share/nvim/runtime/lua/vim/lsp.lua:987: in function ''
        vim/_editor.lua: in function <vim/_editor.lua:0>

If I work in a repository that has tsserver installed on local via npm, the LSP works.

No binaries via cachix

The migration from my github user to nix-community is still not complete, there are some issues with GHA that are being resolved. I will close the issue once the binaries are available again, but at least neovim is quick to compile ;)

Input follows non-existant input

I have a flake that has this overlay as an input, and when used in other flake I get theinput <flake>/neovim-overlay/neovim-flake/nixpkgs follows a non-existent input "neovim-overlay/nikpkgs"

I believe this is a known bug with flakes, could it be considered to remove the follows directive, or will it be prolematic ?

pass functionaltests on nixos

I was never able to pass the testsuite on nixos. the funny thing is that the list of failing test keeps changing

- - [  ERROR   ] test/functional/plugin/lsp_spec.lua @ 918: LSP lsp._cmd_parts test should invalid cmd argument
test/helpers.lua:136: expected failure, but got success

stack traceback:
	test/helpers.lua:136: in function 'pcall_err_withfile'
	test/helpers.lua:159: in function 'pcall_err'
	test/functional/plugin/lsp_spec.lua:923: in function <test/functional/plugin/lsp_spec.lua:918>

installing/updating with flakes breaks

output of nix flake update

nix-config on  master [!+] ^ nix flake update --show-trace
warning: Git tree '/home/fortuneteller2k/.config/nix-config' is dirty
error: input 'nvim-nightly/neovim-flake/nixpkgs' follows a non-existent input 'nixpkgs'

       … while updating the lock file of flake 'git+file:///home/fortuneteller2k/.config/nix-config'

Is it possible to override?

I have a custom setup using the override attribute as outlined here. I tried to modify it to install nightly keeping my setup, but looks like the expression doesn't accept such attribute:

unpacking 'https://github.com/NixOS/nixpkgs-channels/archive/6d4b93323e7f78121f8d6db6c59f3889aa1dd931.tar.gz'...
error: anonymous function at /nix/store/sc3wfhm9aa1lsrhawdbg7x8s93i4n9an-source/pkgs/applications/editors/neovim/default.nix:1:1 called with unexpected argument 'configure', at /nix/store/sc3wfhm9aa1lsrhawdbg7x8s93i4n9an-source/lib/customisation.nix:79:63

Would it possible to do it some how?

Broken config after update

I've been using your overlay for a while with success, but after the last flake.lock update it stopped working.
I'm pretty new to nix (problems, at least), so sorry if this is not the information needed.
I'm open to questions and can help debugging if needed, just let me know :)

flake.lock diff

       "locked": {
-        "lastModified": 1626077712,
-        "narHash": "sha256-e7V+XaxwI3a736mU+8wRtnVTXCTW/nk/fMu0yY7O8vI=",
+        "lastModified": 1625904691,
+        "narHash": "sha256-R+HcHxfAsG3JxdeXvQUjDg6i4VJxjh39SPEGwaLMWi4=",
         "owner": "nix-community",
         "repo": "neovim-nightly-overlay",
-        "rev": "8814fde215d6d34036c55135f33471a0edf07453",
+        "rev": "c2a8577b755101ba3cd5d8b20a1a46f231b76a11",
         "type": "github"
       },

nix-rebuild switch --flake .# output error

error: builder for '/nix/store/7l3svp8r48nmcwywp2c9b3fhj7pcj913-neovim-unwrapped-master.drv' failed with exit code 1;
       last 10 log lines:
       >   necessary.
       >
       > Call Stack (most recent call first):
       >   cmake/FindTreeSitter.cmake:11 (libfind_process)
       >   CMakeLists.txt:393 (find_package)
       >
       >
       > -- Configuring incomplete, errors occurred!
       > See also "/build/xi1i14wkbr019jzy26vpfwg6ijvxjs1v-source/build/CMakeFiles/CMakeOutput.log".
       > See also "/build/xi1i14wkbr019jzy26vpfwg6ijvxjs1v-source/build/CMakeFiles/CMakeError.log".
       For full logs, run 'nix log /nix/store/7l3svp8r48nmcwywp2c9b3fhj7pcj913-neovim-unwrapped-master.drv'.
error: 1 dependencies of derivation '/nix/store/dqsz11wfx9603np13ksmb2ccqsqhplva-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/s2adqjdqbl8ghbmh93mqpzs51da0pi29-nixos-system-tau-21.05.20210716.a165aec.drv' failed to build

last CMakeError.log lines

-- Found Msgpack: /nix/store/70lrzxzjnx9pcy3hjwrycj1gq0ybbny5-msgpack-3.2.0/lib/libmsgpackc.so
(found suitable version "3.2.0", minimum required is "1.0.0")
-- Found LibLUV: /nix/store/k6225k892h50g6ykn4njn48i5yzyvkmy-luajit-2.1.0-2020-12-28-luv-1.30.0
-0/lib/lua/5.1/luv.so (Required is at least version "1.30.0")
CMake Error at cmake/LibFindMacros.cmake:263 (message):
  REQUIRED PACKAGE NOT FOUND

  We could not find development headers for TreeSitter.  Do you have the
  necessary dev package installed? This package is REQUIRED and you need to
  install it or adjust CMake configuration in order to continue building
  nvim.

  Relevant CMake configuration variables:

    TreeSitter_INCLUDE_DIR=<not found>
    TreeSitter_LIBRARY=<not found>

  You may use CMake GUI, cmake -D or ccmake to modify the values.  Delete
  CMakeCache.txt to discard all values and force full re-detection if
  necessary.

Call Stack (most recent call first):
  cmake/FindTreeSitter.cmake:11 (libfind_process)
  CMakeLists.txt:393 (find_package)

Hitting /nix/store/jnp9n2x9cdvl47da3656illrd3p2qvb5-system_rplugin_manifest.patch failure again

Related #116

Hit this this again:

nix log /nix/store/8qhfshabngg8v29qw797bkxgasxc85d7-neovim-unwrapped-84378c4.drv
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/9l035jnj37g45npqqzsp6bil8sax38vv-a2qjd0d9qh42qysqr31i7y4v7k5hmvnn-source
source root is a2qjd0d9qh42qysqr31i7y4v7k5hmvnn-source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/jnp9n2x9cdvl47da3656illrd3p2qvb5-system_rplugin_manifest.patch
patching file runtime/autoload/remote/host.vim
patching file runtime/plugin/rplugin.vim
applying patch /nix/store/jbl93ifi4wm401d83pxyldhhc75ziggx-use-the-correct-replacement-args-for-gsub-directive.patch
patching file runtime/lua/vim/treesitter/query.lua
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file runtime/lua/vim/treesitter/query.lua.rej

Document how to set configuration?

I'm not sure whether it's an issue with nix-darwin, or my lack of nix skills, but I can't work out how to configure this overlay with a vimrc etc.

Could someone put an example in the repo please? I've documented my attempts of trying to run the nightly here: LnL7/nix-darwin#316

nix-rebuild switch fails with newest (9f85389) master

Hi, while trying to run nix-rebuild switch I'm greeted with following error:

building Nix...
building the system configuration...
error: attribute 'lib' missing

       at /nix/store/5yxz55hkysfw2jh913bwb0ririlwqd1b-nixos-22.05/nixos/pkgs/applications/editors/neovim/utils.nix:117:38:

          116|         ] ++ lib.optionals (luaEnv != null) [
          117|           "--prefix" "LUA_PATH" ";" (neovim-unwrapped.lua.pkgs.lib.genLuaPathAbsStr luaEnv)
             |                                      ^
          118|           "--prefix" "LUA_CPATH" ";" (neovim-unwrapped.lua.pkgs.lib.genLuaCPathAbsStr luaEnv)
       Did you mean one of lgi, lua or luv?
(use '--show-trace' to show detailed location information)

removing overlay from my configuration.nix or pinning sha to f1dd69c9e896a3f1725a0f578f9ca212558be51ed fixes the issue.

Running with --show-trace produces following output: trace.txt

Build is failing

The patch file neovim-build-make-generated-source-files-reproducible.patch does not match the code in neovim but I can't find that file to fix it myself 🤯

Build failure

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/ik6ygjsi5li93dslxm9ajs0baqyr1al7-hb520vyz03147w44vkjfgspyihpq0rv3-source
source root is hb520vyz03147w44vkjfgspyihpq0rv3-source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/jnp9n2x9cdvl47da3656illrd3p2qvb5-system_rplugin_manifest.patch
patching file runtime/autoload/remote/host.vim
patching file runtime/plugin/rplugin.vim
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/b9yq8xncpq0c3v3s53f2kd741w208y46-neovim-unwrapped-master/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/b9yq8xncpq0c3v3s53f2kd741w208y46-neovim-unwrapped-master/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/b9yq8xncpq0c3v3s53f2kd741w208y46-neovim-unwrapped-master/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/b9yq8xncpq0c3v3s53f2kd741w208y46-neovim-unwrapped-master/share/doc/nvim -DCMAKE_INSTALL_INFODIR=/nix/store/b9yq8xncpq0c3v3s53f2kd741w208y46-neovim-unwrapped-master/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/b9yq8xncpq0c3v3s53f2kd741w208y46-neovim-unwrapped-master/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/b9yq8xncpq0c3v3s53f2kd741w208y46-neovim-unwrapped-master/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/b9yq8xncpq0c3v3s53f2kd741w208y46-neovim-unwrapped-master/include -DCMAKE_INSTALL_SBINDIR=/nix/store/b9yq8xncpq0c3v3s53f2kd741w208y46-neovim-unwrapped-master/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/b9yq8xncpq0c3v3s53f2kd741w208y46-neovim-unwrapped-master/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/b9yq8xncpq0c3v3s53f2kd741w208y46-neovim-unwrapped-master/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/qvc6cz5d43jhhm4a3r48xkrc82xh1s95-binutils-2.35.1/bin/strip -DCMAKE_RANLIB=/nix/store/qvc6cz5d43jhhm4a3r48xkrc82xh1s95-binutils-2.35.1/bin/ranlib -DCMAKE_AR=/nix/store/qvc6cz5d43jhhm4a3r48xkrc82xh1s95-binutils-2.35.1/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/b9yq8xncpq0c3v3s53f2kd741w208y46-neovim-unwrapped-master -DGPERF_PRG=/nix/store/wxhgzxamyn0fa50c7z8fqfgcyg8i8p1s-gperf-3.1/bin/gperf -DLUA_PRG=/nix/store/v9hfcy0v7njhdmiwr66yf1gmjnj1d61j-luajit-2.1.0-2021-05-29-env/bin/lua -DLIBLUV_LIBRARY=/nix/store/7pjh1rlrj56qgbwbyvkz3nszmsq2np4r-luajit-2.1.0-2021-05-29-luv-1.30.0-0/lib/lua/5.1/luv.so -DUSE_BUNDLED=OFF 
-- The C compiler identification is GNU 10.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/gg2rq3hrl3rf92nq6dnqhdyyxaa89aqf-gcc-wrapper-10.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- CMAKE_INSTALL_PREFIX=/nix/store/b9yq8xncpq0c3v3s53f2kd741w208y46-neovim-unwrapped-master
-- CMAKE_BUILD_TYPE=Release
-- MIN_LOG_LEVEL not specified, default is 3 (ERROR) for release builds
-- Replacing -O3 in CMAKE_C_FLAGS_RELEASE with -O2
-- Performing Test HAS_OG_FLAG
-- Performing Test HAS_OG_FLAG - Success
-- Performing Test HAS_ACCEPTABLE_FORTIFY
-- Performing Test HAS_ACCEPTABLE_FORTIFY - Success
-- Performing Test HAVE_EXECINFO_BACKTRACE
-- Performing Test HAVE_EXECINFO_BACKTRACE - Success
-- Performing Test HAVE_BUILTIN_ADD_OVERFLOW
-- Performing Test HAVE_BUILTIN_ADD_OVERFLOW - Success
-- Performing Test HAVE_WIMPLICIT_FALLTHROUGH_FLAG
-- Performing Test HAVE_WIMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test HAS_WVLA_FLAG
-- Performing Test HAS_WVLA_FLAG - Success
-- Performing Test HAS_FSTACK_PROTECTOR_STRONG_FLAG
-- Performing Test HAS_FSTACK_PROTECTOR_STRONG_FLAG - Success
-- Performing Test HAS_FSTACK_PROTECTOR_FLAG
-- Performing Test HAS_FSTACK_PROTECTOR_FLAG - Success
-- Performing Test HAVE_FNO_COMMON
-- Performing Test HAVE_FNO_COMMON - Success
-- Performing Test HAS_DIAG_COLOR_FLAG
-- Performing Test HAS_DIAG_COLOR_FLAG - Success
-- Found PkgConfig: pkg-config (found version "0.29.2") 
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for kstat_lookup in kstat
-- Looking for kstat_lookup in kstat - not found
-- Looking for kvm_open in kvm
-- Looking for kvm_open in kvm - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - not found
-- Looking for perfstat_cpu in perfstat
-- Looking for perfstat_cpu in perfstat - not found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for sendfile in sendfile
-- Looking for sendfile in sendfile - not found
-- Found LibUV: /nix/store/rcbinhm2wic6a12mpfs4v56x5kchzjv9-libuv-1.41.0/lib/libuv.so (Required is at least version "1.28.0") 
-- Found Msgpack: /nix/store/rx3nj8xfz4g2c9sdgl8qx8b4c5qjw4z4-msgpack-3.2.0/lib/libmsgpackc.so (found suitable version "3.2.0", minimum required is "1.0.0") 
-- Found LibLUV: /nix/store/7pjh1rlrj56qgbwbyvkz3nszmsq2np4r-luajit-2.1.0-2021-05-29-luv-1.30.0-0/lib/lua/5.1/luv.so (Required is at least version "1.30.0") 
-- Found TreeSitter 0.6.3
-- Found LuaJit: /nix/store/yg3xrfv3qrzcpwh1gnfj1z4ry963arbq-luajit-2.1.0-2021-05-29/lib/libluajit-5.1.so  
-- Performing Test MSGPACK_HAS_FLOAT32
-- Performing Test MSGPACK_HAS_FLOAT32 - Success
-- Found UNIBILIUM 2.0.0
-- Performing Test UNIBI_HAS_VAR_FROM
-- Performing Test UNIBI_HAS_VAR_FROM - Success
-- Found LibTermkey: /nix/store/kgza6yj8jbpkrg7a39hxy2j89kp25slh-libtermkey-0.22/lib/libtermkey.so (Required is at least version "0.18") 
-- Found LIBVTERM 0.1.3
-- Found Iconv 
-- Performing Test HAVE_WORKING_LIBINTL
-- Performing Test HAVE_WORKING_LIBINTL - Success
-- Looking for _nl_msg_cat_cntr
-- Looking for _nl_msg_cat_cntr - found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Checking Lua interpreter: /nix/store/v9hfcy0v7njhdmiwr66yf1gmjnj1d61j-luajit-2.1.0-2021-05-29-env/bin/lua
-- Using Lua interpreter: /nix/store/v9hfcy0v7njhdmiwr66yf1gmjnj1d61j-luajit-2.1.0-2021-05-29-env/bin/lua
-- Performing Test HAS_WSTATIC_IN_INLINE
-- Performing Test HAS_WSTATIC_IN_INLINE - Failed
-- Found Gettext: /nix/store/ccl0ki04cpvy50r8w637kqw3zx21fpva-gettext-0.21/bin/msgmerge (found version "0.21") 
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of intmax_t
-- Check size of intmax_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of long long
-- Check size of long long - done
-- Check size of void *
-- Check size of void * - done
-- Looking for _NSGetEnviron
-- Looking for _NSGetEnviron - not found
-- Looking for include file langinfo.h
-- Looking for include file langinfo.h - found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for include file pwd.h
-- Looking for include file pwd.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file sys/wait.h
-- Looking for include file sys/wait.h - found
-- Looking for include file sys/utsname.h
-- Looking for include file sys/utsname.h - found
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file sys/uio.h
-- Looking for include file sys/uio.h - found
-- Looking for include file sys/sdt.h
-- Looking for include file sys/sdt.h - not found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for getpwent
-- Looking for getpwent - found
-- Looking for getpwnam
-- Looking for getpwnam - found
-- Looking for getpwuid
-- Looking for getpwuid - found
-- Looking for readv
-- Looking for readv - found
-- Looking for opendir
-- Looking for opendir - found
-- Looking for readlink
-- Looking for readlink - found
-- Looking for setpgid
-- Looking for setpgid - found
-- Looking for setsid
-- Looking for setsid - found
-- Looking for sigaction
-- Looking for sigaction - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strptime
-- Looking for strptime - found
-- Looking for FD_CLOEXEC
-- Looking for FD_CLOEXEC - found
-- Looking for CODESET
-- Looking for CODESET - found
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Looking for include file sys/endian.h
-- Looking for include file sys/endian.h - not found
-- Performing Test HAVE_BE64TOH_MACROS
-- Performing Test HAVE_BE64TOH_MACROS - Success
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TESTING
    CMAKE_CXX_COMPILER
    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    USE_BUNDLED


-- Build files have been written to: /build/hb520vyz03147w44vkjfgspyihpq0rv3-source/build
cmake: enabled parallel building
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j12 -l12 SHELL=/nix/store/kxj6cblcsd1qcbbxlmbswwrn89zcmgd6-bash-4.4-p23/bin/bash
Scanning dependencies of target translations
Scanning dependencies of target nvim_runtime_deps
[  0%] Generating auto/window.c.generated.h, ../../include/window.h.generated.h
[  0%] Generating auto/api/tabpage.c.generated.h, ../../include/api/tabpage.h.generated.h
[  0%] Generating auto/api/buffer.c.generated.h, ../../include/api/buffer.h.generated.h
[  0%] Generating auto/api/ui.c.generated.h, ../../include/api/ui.h.generated.h
[  0%] Generating auto/api/deprecated.c.generated.h, ../../include/api/deprecated.h.generated.h
[  0%] Generating auto/api/vim.c.generated.h, ../../include/api/vim.h.generated.h
[  0%] Generating auto/api/private/dispatch.c.generated.h, ../../include/api/private/dispatch.h.generated.h
[  0%] Generating auto/api/window.c.generated.h, ../../include/api/window.h.generated.h
[  0%] Generating auto/api/private/helpers.c.generated.h, ../../include/api/private/helpers.h.generated.h
[  0%] Generating auto/api/private/handle.c.generated.h, ../../include/api/private/handle.h.generated.h
[  0%] Built target nvim_runtime_deps
[  0%] Generating nvim.pot
[  0%] Generating auto/arabic.c.generated.h, ../../include/arabic.h.generated.h
[  0%] Generating auto/aucmd.c.generated.h, ../../include/aucmd.h.generated.h
[  0%] Generating ../../include/auevents_enum.generated.h, auto/auevents_name_map.generated.h
[  0%] Generating auto/autocmd.c.generated.h, ../../include/autocmd.h.generated.h
[  0%] Generating auto/buffer.c.generated.h, ../../include/buffer.h.generated.h
[  0%] Generating auto/buffer_updates.c.generated.h, ../../include/buffer_updates.h.generated.h
[  0%] Generating auto/change.c.generated.h, ../../include/change.h.generated.h
[  0%] Generating auto/channel.c.generated.h, ../../include/channel.h.generated.h
[  0%] Generating auto/charset.c.generated.h, ../../include/charset.h.generated.h
[  0%] Generating auto/context.c.generated.h, ../../include/context.h.generated.h
[  0%] Generating auto/cursor.c.generated.h, ../../include/cursor.h.generated.h
[  0%] Generating auto/cursor_shape.c.generated.h, ../../include/cursor_shape.h.generated.h
[  0%] Generating auto/decoration.c.generated.h, ../../include/decoration.h.generated.h
[  0%] Generating ja.euc-jp.mo
[  0%] Generating cs.cp1250.mo
[  0%] Generating sk.cp1250.mo
[  0%] Generating nb.mo
[  0%] Generating auto/diff.c.generated.h, ../../include/diff.h.generated.h
[  0%] Generating af.mo
[  0%] Generating auto/digraph.c.generated.h, ../../include/digraph.h.generated.h
[  0%] Generating auto/edit.c.generated.h, ../../include/edit.h.generated.h
[  0%] Generating auto/eval.c.generated.h, ../../include/eval.h.generated.h
[  0%] Generating auto/eval/decode.c.generated.h, ../../include/eval/decode.h.generated.h
[  0%] Generating ca.mo
[  0%] Generating cs.mo
[  0%] Generating da.mo
[  0%] Generating de.mo
[  0%] Generating auto/eval/encode.c.generated.h, ../../include/eval/encode.h.generated.h
[  0%] Generating auto/eval/executor.c.generated.h, ../../include/eval/executor.h.generated.h
[  0%] Generating auto/eval/funcs.c.generated.h, ../../include/eval/funcs.h.generated.h
[  0%] Generating en_GB.mo
[  0%] Generating eo.mo
[  0%] Generating auto/eval/gc.c.generated.h, ../../include/eval/gc.h.generated.h
[  0%] Generating es.mo
[  0%] Generating auto/eval/typval.c.generated.h, ../../include/eval/typval.h.generated.h
[  0%] Generating fi.mo
[  0%] Generating auto/eval/userfunc.c.generated.h, ../../include/eval/userfunc.h.generated.h
[  0%] Generating fr.mo
[  0%] Generating ga.mo
[  0%] Generating it.mo
[  0%] Generating ja.mo
[  0%] Generating auto/event/libuv_process.c.generated.h, ../../include/event/libuv_process.h.generated.h
[  0%] Generating ko.UTF-8.mo
[  0%] Generating nl.mo
[  0%] Generating auto/event/loop.c.generated.h, ../../include/event/loop.h.generated.h
[  0%] Generating auto/event/multiqueue.c.generated.h, ../../include/event/multiqueue.h.generated.h
[  0%] Generating no.mo
[  0%] Generating auto/event/process.c.generated.h, ../../include/event/process.h.generated.h
[  0%] Generating auto/event/rstream.c.generated.h, ../../include/event/rstream.h.generated.h
[  0%] Generating pl.UTF-8.mo
[  0%] Generating pt_BR.mo
[  0%] Generating auto/event/signal.c.generated.h, ../../include/event/signal.h.generated.h
[  0%] Generating ru.mo
[  0%] Generating sk.mo
[  0%] Generating sv.mo
[  0%] Generating uk.mo
[  0%] Generating tr.mo
[  0%] Generating auto/event/socket.c.generated.h, ../../include/event/socket.h.generated.h
[  0%] Generating auto/event/stream.c.generated.h, ../../include/event/stream.h.generated.h
[  0%] Generating auto/event/time.c.generated.h, ../../include/event/time.h.generated.h
[  0%] Generating vi.mo
[  0%] Generating zh_CN.UTF-8.mo
[  0%] Generating auto/event/wstream.c.generated.h, ../../include/event/wstream.h.generated.h
[  0%] Generating auto/ex_cmds.c.generated.h, ../../include/ex_cmds.h.generated.h
[  0%] Generating zh_TW.UTF-8.mo
[  0%] Generating auto/ex_cmds2.c.generated.h, ../../include/ex_cmds2.h.generated.h
[  0%] Generating ../../include/ex_cmds_enum.generated.h, auto/ex_cmds_defs.generated.h
[  0%] Generating auto/ex_docmd.c.generated.h, ../../include/ex_docmd.h.generated.h
[  0%] Generating auto/ex_getln.c.generated.h, ../../include/ex_getln.h.generated.h
[  0%] Generating auto/ex_eval.c.generated.h, ../../include/ex_eval.h.generated.h
[  0%] Built target translations
[  0%] Generating auto/ex_session.c.generated.h, ../../include/ex_session.h.generated.h
[  0%] Generating auto/extmark.c.generated.h, ../../include/extmark.h.generated.h
[  0%] Generating auto/file_search.c.generated.h, ../../include/file_search.h.generated.h
[  0%] Generating auto/fileio.c.generated.h, ../../include/fileio.h.generated.h
[  0%] Generating auto/fold.c.generated.h, ../../include/fold.h.generated.h
[  0%] Generating auto/garray.c.generated.h, ../../include/garray.h.generated.h
[  0%] Generating auto/getchar.c.generated.h, ../../include/getchar.h.generated.h
[  0%] Generating auto/hardcopy.c.generated.h, ../../include/hardcopy.h.generated.h
[  0%] Generating auto/hashtab.c.generated.h, ../../include/hashtab.h.generated.h
[  0%] Generating auto/highlight.c.generated.h, ../../include/highlight.h.generated.h
[  0%] Generating auto/if_cscope.c.generated.h, ../../include/if_cscope.h.generated.h
[  0%] Generating auto/indent.c.generated.h, ../../include/indent.h.generated.h
[  0%] Generating auto/indent_c.c.generated.h, ../../include/indent_c.h.generated.h
[  0%] Generating auto/log.c.generated.h, ../../include/log.h.generated.h
[  0%] Generating auto/keymap.c.generated.h, ../../include/keymap.h.generated.h
[  0%] Generating auto/lua/converter.c.generated.h, ../../include/lua/converter.h.generated.h
[  0%] Generating auto/lua/executor.c.generated.h, ../../include/lua/executor.h.generated.h
[  0%] Generating auto/lua/treesitter.c.generated.h, ../../include/lua/treesitter.h.generated.h
[  0%] Generating auto/main.c.generated.h, ../../include/main.h.generated.h
[  0%] Generating auto/map.c.generated.h, ../../include/map.h.generated.h
[  0%] Generating auto/mark.c.generated.h, ../../include/mark.h.generated.h
[  0%] Generating auto/marktree.c.generated.h, ../../include/marktree.h.generated.h
[  0%] Generating auto/math.c.generated.h, ../../include/math.h.generated.h
[  0%] Generating auto/mbyte.c.generated.h, ../../include/mbyte.h.generated.h
[  0%] Generating auto/memfile.c.generated.h, ../../include/memfile.h.generated.h
[  0%] Generating auto/memline.c.generated.h, ../../include/memline.h.generated.h
[  0%] Generating auto/memory.c.generated.h, ../../include/memory.h.generated.h
[  0%] Generating auto/menu.c.generated.h, ../../include/menu.h.generated.h
[  0%] Generating auto/message.c.generated.h, ../../include/message.h.generated.h
[  0%] Generating auto/misc1.c.generated.h, ../../include/misc1.h.generated.h
[  0%] Generating auto/mouse.c.generated.h, ../../include/mouse.h.generated.h
[  0%] Generating auto/move.c.generated.h, ../../include/move.h.generated.h
[  0%] Generating auto/msgpack_rpc/channel.c.generated.h, ../../include/msgpack_rpc/channel.h.generated.h
[  0%] Generating auto/msgpack_rpc/helpers.c.generated.h, ../../include/msgpack_rpc/helpers.h.generated.h
[  0%] Generating auto/msgpack_rpc/server.c.generated.h, ../../include/msgpack_rpc/server.h.generated.h
[  0%] Generating auto/normal.c.generated.h, ../../include/normal.h.generated.h
[  0%] Generating auto/ops.c.generated.h, ../../include/ops.h.generated.h
[  0%] Generating auto/os/env.c.generated.h, ../../include/os/env.h.generated.h
[  0%] Generating auto/option.c.generated.h, ../../include/option.h.generated.h
[  0%] Generating auto/os/dl.c.generated.h, ../../include/os/dl.h.generated.h
[  0%] Generating auto/os/fileio.c.generated.h, ../../include/os/fileio.h.generated.h
[  0%] Generating auto/os/fs.c.generated.h, ../../include/os/fs.h.generated.h
[  0%] Generating auto/os/input.c.generated.h, ../../include/os/input.h.generated.h
[  0%] Generating auto/os/lang.c.generated.h, ../../include/os/lang.h.generated.h
[  0%] Generating auto/os/mem.c.generated.h, ../../include/os/mem.h.generated.h
[  0%] Generating auto/os/process.c.generated.h, ../../include/os/process.h.generated.h
[  0%] Generating auto/os/pty_process_unix.c.generated.h, ../../include/os/pty_process_unix.h.generated.h
[  0%] Generating auto/os/shell.c.generated.h, ../../include/os/shell.h.generated.h
[  0%] Generating auto/os/signal.c.generated.h, ../../include/os/signal.h.generated.h
[  0%] Generating auto/os/stdpaths.c.generated.h, ../../include/os/stdpaths.h.generated.h
[  0%] Generating auto/os/time.c.generated.h, ../../include/os/time.h.generated.h
[  0%] Generating auto/os/tty.c.generated.h, ../../include/os/tty.h.generated.h
[  0%] Generating auto/os/users.c.generated.h, ../../include/os/users.h.generated.h
[  0%] Generating auto/os_unix.c.generated.h, ../../include/os_unix.h.generated.h
[  0%] Generating auto/path.c.generated.h, ../../include/path.h.generated.h
[  0%] Generating auto/popupmnu.c.generated.h, ../../include/popupmnu.h.generated.h
[  0%] Generating auto/profile.c.generated.h, ../../include/profile.h.generated.h
[  0%] Generating auto/quickfix.c.generated.h, ../../include/quickfix.h.generated.h
[  0%] Generating auto/rbuffer.c.generated.h, ../../include/rbuffer.h.generated.h
[  0%] Generating auto/regexp.c.generated.h, ../../include/regexp.h.generated.h
[  0%] Generating auto/regexp_nfa.c.generated.h, ../../include/regexp_nfa.h.generated.h
[  0%] Generating auto/runtime.c.generated.h, ../../include/runtime.h.generated.h
[  0%] Generating auto/screen.c.generated.h, ../../include/screen.h.generated.h
[  0%] Generating auto/search.c.generated.h, ../../include/search.h.generated.h
[  0%] Generating auto/sha256.c.generated.h, ../../include/sha256.h.generated.h
[  0%] Generating auto/shada.c.generated.h, ../../include/shada.h.generated.h
[  0%] Generating auto/sign.c.generated.h, ../../include/sign.h.generated.h
[  0%] Generating auto/spell.c.generated.h, ../../include/spell.h.generated.h
[  0%] Generating auto/spellfile.c.generated.h, ../../include/spellfile.h.generated.h
[  0%] Generating auto/state.c.generated.h, ../../include/state.h.generated.h
[  0%] Generating auto/strings.c.generated.h, ../../include/strings.h.generated.h
[  0%] Generating auto/syntax.c.generated.h, ../../include/syntax.h.generated.h
[  0%] Generating auto/tag.c.generated.h, ../../include/tag.h.generated.h
[  0%] Generating auto/terminal.c.generated.h, ../../include/terminal.h.generated.h
[  0%] Generating auto/tui/input.c.generated.h, ../../include/tui/input.h.generated.h
[  0%] Generating auto/tui/terminfo.c.generated.h, ../../include/tui/terminfo.h.generated.h
[  0%] Generating auto/tui/tui.c.generated.h, ../../include/tui/tui.h.generated.h
[  0%] Generating auto/ugrid.c.generated.h, ../../include/ugrid.h.generated.h
[  0%] Generating auto/ui.c.generated.h, ../../include/ui.h.generated.h
[  0%] Generating auto/ui_compositor.c.generated.h, ../../include/ui_compositor.h.generated.h
[  0%] Generating auto/ui_bridge.c.generated.h, ../../include/ui_bridge.h.generated.h
[  0%] Generating auto/ui_events.generated.h, auto/ui_events_call.generated.h, auto/ui_events_remote.generated.h, auto/ui_events_bridge.generated.h, auto/api/private/ui_events_metadata.generated.h
[  0%] Generating auto/undo.c.generated.h, ../../include/undo.h.generated.h
[  0%] Generating auto/version.c.generated.h, ../../include/version.h.generated.h
[  0%] Generating auto/viml/parser/expressions.c.generated.h, ../../include/viml/parser/expressions.h.generated.h
[  0%] Generating auto/viml/parser/parser.c.generated.h, ../../include/viml/parser/parser.h.generated.h
[  0%] Generating auto/lua/vim_module.generated.h
[  0%] Generating auto/options.generated.h
[  0%] Generating auto/unicode_tables.generated.h
[  0%] Generating auto/ui_events_call.c.generated.h, ../../include/ui_events_call.h.generated.h
[  0%] Generating auto/ui_events_bridge.c.generated.h, ../../include/ui_events_bridge.h.generated.h
[  0%] Generating auto/api/private/dispatch_wrappers.generated.h, auto/api/private/funcs_metadata.generated.h, ../../api_metadata.mpack, auto/msgpack_lua_c_bindings.generated.c
[  0%] Generating auto/ui_events_remote.c.generated.h, ../../include/ui_events_remote.h.generated.h
[  0%] Generating auto/api/private/dispatch_wrappers.c.generated.h, ../../include/api/private/dispatch_wrappers.h.generated.h
[  0%] Generating auto/funcs.generated.h, ../../funcs_data.mpack
Scanning dependencies of target nvim
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/auto/msgpack_lua_c_bindings.generated.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/__/__/config/auto/pathdef.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/api/buffer.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/api/deprecated.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/api/private/handle.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/api/private/dispatch.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/api/private/helpers.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/api/tabpage.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/api/ui.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/api/vim.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/api/window.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/arabic.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/aucmd.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/autocmd.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/buffer.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/buffer_updates.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/change.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/channel.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/charset.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/context.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/cursor.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/cursor_shape.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/decoration.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/diff.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/digraph.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/edit.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/eval.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/eval/decode.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/eval/encode.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/eval/executor.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/eval/funcs.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/eval/gc.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/eval/typval.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/eval/userfunc.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/event/libuv_process.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/event/multiqueue.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/event/loop.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/event/process.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/event/rstream.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/event/signal.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/event/socket.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/event/stream.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/event/time.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/event/wstream.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/ex_cmds.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/ex_cmds2.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/ex_docmd.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/ex_eval.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/ex_getln.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/ex_session.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/extmark.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/file_search.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/fileio.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/fold.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/garray.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/getchar.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/hardcopy.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/hashtab.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/highlight.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/if_cscope.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/indent.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/indent_c.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/keymap.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/log.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/lua/converter.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/lua/executor.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/lua/treesitter.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/main.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/map.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/mark.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/marktree.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/math.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/mbyte.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/memfile.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/memline.c.o
/build/hb520vyz03147w44vkjfgspyihpq0rv3-source/src/nvim/lua/treesitter.c: In function 'node_rawquery':
/build/hb520vyz03147w44vkjfgspyihpq0rv3-source/src/nvim/lua/treesitter.c:1076:3: warning: implicit declaration of function 'ts_query_cursor_set_match_limit'; did you mean 'ts_query_cursor_next_match'? [�]8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration�-Wimplicit-function-declaration�]8;;�]
 1076 |   ts_query_cursor_set_match_limit(cursor, 32);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   ts_query_cursor_next_match
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/memory.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/menu.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/message.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/misc1.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/mouse.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/move.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/channel.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/helpers.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/msgpack_rpc/server.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/normal.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/ops.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/option.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/dl.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/env.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/fileio.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/fs.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/input.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/lang.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/mem.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/process.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/pty_process_unix.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/shell.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/signal.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/stdpaths.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/time.c.o
[  0%] Building C object src/nvim/CMakeFiles/nvim.dir/os/tty.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/os/users.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/os_unix.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/path.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/popupmnu.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/profile.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/quickfix.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/rbuffer.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/regexp.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/runtime.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/screen.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/search.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/sha256.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/shada.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/sign.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/spell.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/spellfile.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/state.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/strings.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/syntax.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/tag.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/terminal.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/tui/input.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/tui/terminfo.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/tui/tui.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/ugrid.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/ui.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/ui_bridge.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/ui_compositor.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/undo.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/version.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/viml/parser/expressions.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/viml/parser/parser.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/window.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/xdiff/xdiffi.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/xdiff/xemit.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/xdiff/xhistogram.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/xdiff/xpatience.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/xdiff/xprepare.c.o
[100%] Building C object src/nvim/CMakeFiles/nvim.dir/xdiff/xutils.c.o
[100%] Linking C executable ../../bin/nvim
/nix/store/qvc6cz5d43jhhm4a3r48xkrc82xh1s95-binutils-2.35.1/bin/ld: /build/nvim.N5dAWn.ltrans27.ltrans.o: in function `node_rawquery':
<artificial>:(.text+0x11d8): undefined reference to `ts_query_cursor_set_match_limit'
collect2: error: ld returned 1 exit status
make[2]: *** [src/nvim/CMakeFiles/nvim.dir/build.make:3525: bin/nvim] Error 1
make[1]: *** [CMakeFiles/Makefile2:3027: src/nvim/CMakeFiles/nvim.dir/all] Error 2
make: *** [Makefile:171: all] Error 2

Overlay doesn't work on non-flaked systems

Overlay doesn't work on non-flaked systems. Few days ago there was infinite recursion in flake.nix now it's:

error: attempt to call something which is not a function but a set, at /nix/store/g8rnaxiq4vd55jah2fqy34nwjsycfzvb-nixpkgs/nixpkgs/lib/fixed-points.nix:69:67

No python provider

I installed and now get the following error whenever I do something in neovim making it unusable:

image

Build failure on latest nixpkgs-unstable

neovim-unwrapped-master> source root is 0bbaz68smnwny47g4fyj6z98880c58g2-source
neovim-unwrapped-master> patching sources
neovim-unwrapped-master> applying patch /nix/store/jnp9n2x9cdvl47da3656illrd3p2qvb5-system_rplugin_manifest.patch
neovim-unwrapped-master> patching file runtime/autoload/remote/host.vim
neovim-unwrapped-master> patching file runtime/plugin/rplugin.vim
neovim-unwrapped-master> configuring
neovim-unwrapped-master> cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_BUILD_RPATH=ON -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/0m4daabl324jk1l66mmhrl1fzf3kl5f5-neovim-unwrapped-master/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/0m4daabl324jk1l66mmhrl1fzf3kl5f5-neovim-unwrapped-master/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/0m4daabl324jk1l66mmhrl1fzf3kl5f5-neovim-unwrapped-master/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/0m4daabl324jk1l66mmhrl1fzf3kl5f5-neovim-unwrapped-master/share/doc/nvim -DCMAKE_INSTALL_INFODIR=/nix/store/0m4daabl324jk1l66mmhrl1fzf3kl5f5-neovim-unwrapped-master/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/0m4daabl324jk1l66mmhrl1fzf3kl5f5-neovim-unwrapped-master/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/0m4daabl324jk1l66mmhrl1fzf3kl5f5-neovim-unwrapped-master/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/0m4daabl324jk1l66mmhrl1fzf3kl5f5-neovim-unwrapped-master/include -DCMAKE_INSTALL_SBINDIR=/nix/store/0m4daabl324jk1l66mmhrl1fzf3kl5f5-neovim-unwrapped-master/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/0m4daabl324jk1l66mmhrl1fzf3kl5f5-neovim-unwrapped-master/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/0m4daabl324jk1l66mmhrl1fzf3kl5f5-neovim-unwrapped-master/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/77i6h1kjpdww9zzpvkmgyym2mz65yff1-binutils-2.35.1/bin/strip -DCMAKE_RANLIB=/nix/store/77i6h1kjpdww9zzpvkmgyym2mz65yff1-binutils-2.35.1/bin/ranlib -DCMAKE_AR=/nix/store/77i6h1kjpdww9zzpvkmgyym2mz65yff1-binutils-2.35.1/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/0m4daabl324jk1l66mmhrl1fzf3kl5f5-neovim-unwrapped-master -DGPERF_PRG=/nix/store/cdjq70hng9rajf9f8a58slv28lq9hdgb-gperf-3.1/bin/gperf -DLUA_PRG=/nix/store/0pxinm0kkzv3k4hxkyh2xmxxiih5apaf-luajit-2.1.0-2021-05-22-env/bin/lua -DLIBLUV_LIBRARY=/nix/store/3lfssqc8kzv0llzs4yw4kag7jvj01mcf-luajit-2.1.0-2021-05-22-luv-1.30.0-0/lib/lua/5.1/luv.so -DUSE_BUNDLED=OFF
neovim-unwrapped-master> -- The C compiler identification is GNU 10.3.0
neovim-unwrapped-master> -- Detecting C compiler ABI info
neovim-unwrapped-master> -- Detecting C compiler ABI info - failed
neovim-unwrapped-master> -- Check for working C compiler: /nix/store/35pnk5kwi26m3ph2bc7dxwjnavpzl8cn-gcc-wrapper-10.3.0/bin/gcc
neovim-unwrapped-master> -- Check for working C compiler: /nix/store/35pnk5kwi26m3ph2bc7dxwjnavpzl8cn-gcc-wrapper-10.3.0/bin/gcc - broken
neovim-unwrapped-master> CMake Error at /nix/store/zzqzl5lm59mc04fd8f1wbwl7nmxvv1bb-cmake-3.19.7/share/cmake-3.19/Modules/CMakeTestCCompiler.cmake:66 (message):
neovim-unwrapped-master>   The C compiler
neovim-unwrapped-master>     "/nix/store/35pnk5kwi26m3ph2bc7dxwjnavpzl8cn-gcc-wrapper-10.3.0/bin/gcc"
neovim-unwrapped-master>   is not able to compile a simple test program.
neovim-unwrapped-master>   It fails with the following output:
neovim-unwrapped-master>     Change Dir: /build/0bbaz68smnwny47g4fyj6z98880c58g2-source/build/CMakeFiles/CMakeTmp
neovim-unwrapped-master>     Run Build Command(s):/nix/store/g2fna66r9m081w1h1zj857j06jigx6cq-gnumake-4.3/bin/make cmTC_0e468/fast && /nix/store/g2fna66r9m081w1h1zj857j06jigx6cq-gnumake-4.3/bin/make  -f CMakeFiles/cmTC_0e468.dir/build.make CMakeFiles/cmTC_0e468.dir/build
neovim-unwrapped-master>     make[1]: Entering directory '/build/0bbaz68smnwny47g4fyj6z98880c58g2-source/build/CMakeFiles/CMakeTmp'
neovim-unwrapped-master>     make[1]: /bin/sh: No such file or directory
neovim-unwrapped-master>     make[1]: *** [CMakeFiles/cmTC_0e468.dir/build.make:84: CMakeFiles/cmTC_0e468.dir/testCCompiler.c.o] Error 127
neovim-unwrapped-master>     make[1]: Leaving directory '/build/0bbaz68smnwny47g4fyj6z98880c58g2-source/build/CMakeFiles/CMakeTmp'
neovim-unwrapped-master>     make: *** [Makefile:140: cmTC_0e468/fast] Error 2
neovim-unwrapped-master>   CMake will not be able to correctly generate this project.
neovim-unwrapped-master> Call Stack (most recent call first):
neovim-unwrapped-master>   CMakeLists.txt:7 (project)
neovim-unwrapped-master> -- Configuring incomplete, errors occurred!

Use side-by-side with stable neovim

Would it be possible to somehow have both a neovim (pointing to stable) and a neovim-nightly (pointing to this overlay) binary? It's already a different package and doesn't just overwrite the stable package, but I still end up with only one binary.

I've looked at #96 where this is discussed, but it seems nothing happened in the end since we still have the neovim-nightly package but only one nvim executable.

BREAKING CHANGE: neovim-nightly -> neovim... opinions wanted

When I first made this overlay, I wanted to allow users to install 0.4.4 and nightly side by side. I went half of the way there, but instead stopped short and only renamed the package neovim-nightly, but not the binary. This means it's currently not possible to have both nvim-nightly and nvim installed simultaneously, defeating the purpose.

In an effort to a align with core, I'd like to rename neovim-nightly to neovim in the flake. What this will mean, is all users will need to change neovim-nightly to neovim in their personal configurations. I realize this is a breaking change, so we can provide both definitions for an intermediate time period.

@teto thoughts?

Patches can't be applied

A number of patches (from "upstream" nixpkgs) can't be applied:

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/hpzbz67g0skd2yr9vnxyln8h7nsdnbfq-djgr0qhqyz2q5axc1vh8snhxwv743xql-source
source root is djgr0qhqyz2q5axc1vh8snhxwv743xql-source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/jnp9n2x9cdvl47da3656illrd3p2qvb5-system_rplugin_manifest.patch
patching file runtime/autoload/remote/host.vim
patching file runtime/plugin/rplugin.vim
applying patch /nix/store/k7nfml473rvcs6sm5ir3yl9c9yc9sf4d-neovim-build-make-generated-source-files-reproducible.patch
patching file CMakeLists.txt
Hunk #1 succeeded at 594 (offset 19 lines).
patching file runtime/lua/vim/shared.lua
Hunk #1 succeeded at 457 (offset 10 lines).
patching file scripts/genvimvim.lua
patching file src/nvim/CMakeLists.txt
Hunk #1 succeeded at 264 (offset -5 lines).
Hunk #2 FAILED at 320.
1 out of 2 hunks FAILED -- saving rejects to file src/nvim/CMakeLists.txt.rej
patching file src/nvim/api/keysets.lua
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file src/nvim/api/keysets.lua.rej
patching file src/nvim/auevents.lua
Hunk #1 succeeded at 127 with fuzz 1 (offset 2 lines).
patching file src/nvim/generators/gen_api_dispatch.lua
Hunk #1 succeeded at 426 (offset 65 lines).
patching file src/nvim/generators/gen_eval.lua
Hunk #1 succeeded at 73 (offset 27 lines).
patching file src/nvim/generators/gen_events.lua
patching file src/nvim/generators/gen_keysets.lua
patching file src/nvim/generators/gen_options.lua
Hunk #1 succeeded at 159 (offset 1 line).
Hunk #2 succeeded at 192 (offset 1 line).

This seems to be caused by differences between neovim 0.8.2 and the current nightly.

As far as I can tell, this was introduced by NixOS/nixpkgs#208103.

I don't think this is a nixpkgs issue, because it works with 0.8.2, which is I why I opened an issue here.

Node.js provider not available

Hello,

I am using this overlay to install neovim-nightly within home-manager.
I managed to get all my python requirements working but the Node.js provider is not found.
I tried to add the nodePackages.neovim package but (unsurprisingly), the isolated neovim application is not able to find it.

Would it be possible to add Node as a 'dependency' of neovim-nightly so that Nix makes sure it can see it ?

error: undefined variable 'flake-compat' when updating

I am now getting this whenever I try to update my home-manager configuration.

I have it installed without resorting to flakes.

Output:

error: while evaluating anonymous function at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/impure.nix:15:1, called from /home/pta2002/.nix-defexpr/channels/home-manager/home-manager/home-manager.nix:1:10:
while evaluating anonymous function at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/default.nix:20:1, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/impure.nix:84:1:
while evaluating anonymous function at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:42:1, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/default.nix:126:10:
while evaluating 'dfold' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:60:27, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:136:4:
while evaluating 'go' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:63:18, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:72:13:
while evaluating 'folder' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:89:33, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:68:18:
while evaluating 'allPackages' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/default.nix:116:17, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:101:12:
while evaluating anonymous function at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/stage.nix:12:1, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/default.nix:116:26:
while evaluating 'fix' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:19:9, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/stage.nix:252:3:
while evaluating 'extends' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:69:24, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:19:20:
while evaluating 'extends' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:69:24, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:69:42:
while evaluating 'extends' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:69:24, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:69:42:
while evaluating anonymous function at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/impure.nix:52:16, called from undefined position:
while evaluating the file '/home/pta2002/.config/nixpkgs/overlays/neovim.nix':
undefined variable 'flake-compat' at /nix/store/f31gzk6571rrn7sd5p4fmz6jaiz76ky2-source/default.nix:2:9
error: while evaluating the attribute 'activationPackage' at /home/pta2002/.nix-defexpr/channels/home-manager/modules/default.nix:52:3:
while evaluating 'showWarnings' at /home/pta2002/.nix-defexpr/channels/home-manager/modules/default.nix:16:18, called from /home/pta2002/.nix-defexpr/channels/home-manager/modules/default.nix:37:12:
while evaluating anonymous function at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/impure.nix:15:1, called from /home/pta2002/.nix-defexpr/channels/home-manager/home-manager/home-manager.nix:1:10:
while evaluating anonymous function at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/default.nix:20:1, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/impure.nix:84:1:
while evaluating anonymous function at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:42:1, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/default.nix:126:10:
while evaluating 'dfold' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:60:27, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:136:4:
while evaluating 'go' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:63:18, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:72:13:
while evaluating 'folder' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:89:33, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:68:18:
while evaluating 'allPackages' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/default.nix:116:17, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/stdenv/booter.nix:101:12:
while evaluating anonymous function at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/stage.nix:12:1, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/default.nix:116:26:
while evaluating 'fix' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:19:9, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/stage.nix:252:3:
while evaluating 'extends' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:69:24, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:19:20:
while evaluating 'extends' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:69:24, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:69:42:
while evaluating 'extends' at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:69:24, called from /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/lib/fixed-points.nix:69:42:
while evaluating anonymous function at /nix/store/a05qwm1g0j53gnla4br9zzbk2id9zckp-nixpkgs-21.03pre257733.3537ea7a835/nixpkgs/pkgs/top-level/impure.nix:52:16, called from undefined position:
while evaluating the file '/home/pta2002/.config/nixpkgs/overlays/neovim.nix':
undefined variable 'flake-compat' at /nix/store/f31gzk6571rrn7sd5p4fmz6jaiz76ky2-source/default.nix:2:9
/home/pta2002/.nix-profile/bin/home-manager: line 127: /tmp/home-manager-build.BaEB66dszB/news-info.sh: No such file or directory

Installing with overlay breaks

I tried to do a nixos-rebuild switch, however it complained about flake-compat missing. Here is the complete build-output:

tim@nixos ~/d/nixos (main)> doas nixos-rebuild switch
doas (tim@nixos) password:
unpacking 'https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz'...
error: attribute 'flake-compat' missing, at /nix/store/j64wzgj5pwb9wkwjh2p2n1cfqqwivg2v-source/flake-compat.nix:7:65
(use '--show-trace' to show detailed location information)
building Nix...
error: attribute 'flake-compat' missing, at /nix/store/j64wzgj5pwb9wkwjh2p2n1cfqqwivg2v-source/flake-compat.nix:7:65
(use '--show-trace' to show detailed location information)
building the system configuration...
error: attribute 'flake-compat' missing, at /nix/store/j64wzgj5pwb9wkwjh2p2n1cfqqwivg2v-source/flake-compat.nix:7:65
(use '--show-trace' to show detailed location information)

looking for new maintainer

@mjlbach doesn't use nix anymore (know the sayting, "it's always the best who leave first") but now we have to deal with the aftermath. I dont use this repo and have no time/interest to maintain it so if anyone is interested, please reach out here.

Prerequisites

I am missing something :)

Edited.

What are the prerequisites to use this overlay (nixpkgs overlays)?

Solved first point, I had the nixpkgs.overlays in an imported .nix file and not directly in configuration.nix. Does nixpkgs.overlays necessarily be in configuration.nix?

  • Does Cachix depend on the same prerequisites (if they exist, after all)?

Still confused about Cachix. How I am supposed to use it? I followed the instructions, but being able to install neovim-nightly only building locally 🤔

Thank you

Instructions on how to use with nix

Hi.

The current instructions are for home-manager and nixos.

Could some instructions be added for how to use this with just nix?

I’ve read the nixpkgs documentation on overlays, many GitHub issues, and Google search results, but I just can’t figure out how to use this overlay.

Thanks in advance!


Past Attempt

Trying to put (https://discourse.nixos.org/t/solved-overlay-for-neovim-nightly-builds/5573/11):

$ cat neovim-nightly.nix
self: super: {
  neovim-unwrapped = super.neovim-unwrapped.overrideAttrs (oldAttrs: {
    version = "master";
    src = builtins.fetchGit {
      url = https://github.com/neovim/neovim.git;
    };
    nativeBuildInputs = super.neovim-unwrapped.nativeBuildInputs ++ [ super.tree-sitter ];
  });
}

at ${HOME}/.config/nixpkgs/overlays/neovim.nix yields:

Step 18/47 : ENV PATH=$HOME/.nix-profile/bin:$PATH     NIXPKGS_ALLOW_UNFREE=1
Step 19/47 : RUN curl -L https://nixos.org/nix/install | sh     && nix-channel --update
Step 20/47 : COPY --chown=$UID:$GID ["neovim-nightly.nix", "${HOME}/.config/nixpkgs/overlays/neovim.nix"]
Step 21/47 : RUN nix-env -iA nixpkgs.neovim nixpkgs.nodePackages.neovim nixpkgs.nodePackages.pyright
installing 'neovim-master'
installing 'node_neovim-4.10.0'
installing 'node_pyright-1.1.134'
...

so it actually installs nightly, but the luajit is old thus neovim doesn't work as per neovim/neovim#14246.

This is a dead end (I'm not sure how to expand this to change the luajit version) and so I'm now trying your overlay.

Use neovim's bundled flake

@teto Added a flake to neovim contrib, we should build from that, instead of using our own. It also provides some nice outputs, like neovim-developer and neovim-debug which are useful to those of us that also contribute to neovim.

Pin neovim to specific revision?

Sorry I'm new to nix. Was able to get this going with home-manager with no problems, so thank you very much for maintaining this.

I was wondering if there is any way, with home-manager, to pin neovim to an arbitrary git sha? While it hasn't happened yet, I'm worrying about a situation where I do home-manager switch and to make some change, and it pulls down the newest nightly which is broken in some way (worse if not an immediately obvious way), and I'd have to rollback and not be able to make any other changes non-neovim changes until the next nightly.

no binary cache for aarch64-darwin ?

Hi,
I currently use this overlay on two darwin machines, x86 and arm.
I keep noticing that my arm machine never hits the binary cache, while my x86 machine always does.

Looking at the github action I wonder if there's even a arm-based builder for darwin.

Would it be possible to add one or am I missing something else?🤔

Build fails when trying to install (On darwin)

I'm getting the following error when trying to install:

error: builder for '/nix/store/gzvpdxxv4ncmzlmry7v34c65hhc45n89-neovim-unwrapped-3287fc2.drv' failed with exit code 2;
       last 10 log lines:
       > [  3%] Built target update_version_stamp
       > [  3%] Building C object src/nvim/CMakeFiles/nlua0.dir/__/mpack/object.c.o
       > [  3%] Building C object src/nvim/CMakeFiles/nlua0.dir/__/mpack/rpc.c.o
       > [  3%] Building C object src/nvim/CMakeFiles/nlua0.dir/__/nlua0.c.o
       > [  3%] Linking C shared module ../../lib/libnlua0.so
       > /nix/store/5i11h3ji1cki45v3ndn1z6b3scma2jlm-binutils-2.40/bin/ld: cannot find -llpeg: No such file or directory
       > collect2: error: ld returned 1 exit status
       > make[2]: *** [src/nvim/CMakeFiles/nlua0.dir/build.make:178: lib/libnlua0.so] Error 1
       > make[1]: *** [CMakeFiles/Makefile2:562: src/nvim/CMakeFiles/nlua0.dir/all] Error 2
       > make: *** [Makefile:156: all] Error 2
       For full logs, run 'nix-store -l /nix/store/gzvpdxxv4ncmzlmry7v34c65hhc45n89-neovim-unwrapped-3287fc2.drv'.
error: 1 dependencies of derivation '/nix/store/nzpxskj36rddqw15d3dbijnz3ay89lhs-neovim-3287fc2.drv' failed to build
error: 1 dependencies of derivation '/nix/store/m40h0ici7qzngspmnnx1yll7gqdc4msy-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/r8iyqhg9392p4hh7b6np6nn5z6b7f3n3-home-manager-generation.drv' failed to build

Context

Here are my dotfiles.
The home-manager configuration can be found here.

Complete Logs

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/xvgzsmg2vpgx2dxrf4nsfrx00xqsnj1d-hwhrmr6j1x36nlfa07l75r2fydkar603-source
source root is hwhrmr6j1x36nlfa07l75r2fydkar603-source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
applying patch /nix/store/jnp9n2x9cdvl47da3656illrd3p2qvb5-system_rplugin_manifest.patch
patching file runtime/autoload/remote/host.vim
patching file runtime/plugin/rplugin.vim
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/540qhn6x0pjxvj70aqg8rjxip5pbmc05-neovim-unwrapped-3287fc2/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/540qhn6x0pjxvj70aqg8rjxip5pbmc05-neovim-unwrapped-3287fc2/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/540qhn6x0pjxvj70aqg8rjxip5pbmc05-neovim-unwrapped-3287fc2/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/540qhn6x0pjxvj70aqg8rjxip5pbmc05-neovim-unwrapped-3287fc2/share/doc/nvim -DCMAKE_INSTALL_INFODIR=/nix/store/540qhn6x0pjxvj70aqg8rjxip5pbmc05-neovim-unwrapped-3287fc2/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/540qhn6x0pjxvj70aqg8rjxip5pbmc05-neovim-unwrapped-3287fc2/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/540qhn6x0pjxvj70aqg8rjxip5pbmc05-neovim-unwrapped-3287fc2/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/540qhn6x0pjxvj70aqg8rjxip5pbmc05-neovim-unwrapped-3287fc2/include -DCMAKE_INSTALL_SBINDIR=/nix/store/540qhn6x0pjxvj70aqg8rjxip5pbmc05-neovim-unwrapped-3287fc2/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/540qhn6x0pjxvj70aqg8rjxip5pbmc05-neovim-unwrapped-3287fc2/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/540qhn6x0pjxvj70aqg8rjxip5pbmc05-neovim-unwrapped-3287fc2/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/gz7h242b5x58ynd7iz7qjr964ab363qk-gcc-wrapper-12.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/gz7h242b5x58ynd7iz7qjr964ab363qk-gcc-wrapper-12.2.0/bin/ranlib -DCMAKE_AR=/nix/store/gz7h242b5x58ynd7iz7qjr964ab363qk-gcc-wrapper-12.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/540qhn6x0pjxvj70aqg8rjxip5pbmc05-neovim-unwrapped-3287fc2 -DUSE_BUNDLED=OFF 
-- The C compiler identification is GNU 12.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/gz7h242b5x58ynd7iz7qjr964ab363qk-gcc-wrapper-12.2.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- CMAKE_INSTALL_PREFIX=/nix/store/540qhn6x0pjxvj70aqg8rjxip5pbmc05-neovim-unwrapped-3287fc2
-- CMAKE_BUILD_TYPE=Release
-- Using Lua interpreter: /nix/store/67w034j9lhjkjm4l1q22clk771f5f4fj-luajit-2.1.0-2022-10-04-env/bin/luajit
-- Using Lua interpreter for code generation: /nix/store/67w034j9lhjkjm4l1q22clk771f5f4fj-luajit-2.1.0-2022-10-04-env/bin/luajit
-- Using Lua compiler: /nix/store/67w034j9lhjkjm4l1q22clk771f5f4fj-luajit-2.1.0-2022-10-04-env/bin/luajit -b -s %s -
-- Could NOT find libuv (missing: libuv_DIR)
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for kstat_lookup in kstat
-- Looking for kstat_lookup in kstat - not found
-- Looking for kvm_open in kvm
-- Looking for kvm_open in kvm - not found
-- Looking for gethostbyname in nsl
-- Looking for gethostbyname in nsl - not found
-- Looking for perfstat_cpu in perfstat
-- Looking for perfstat_cpu in perfstat - not found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for sendfile in sendfile
-- Looking for sendfile in sendfile - not found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found Libuv: /nix/store/hqs994fma24dn02my77aj4yf1cv3vwlj-libuv-1.44.2/lib/libuv.so (Required is at least version "1.28.0") 
-- Found Libluv: /nix/store/gwfydvfp7qh32xw7jd6g11zbw1xzyvj2-libluv-1.44.2-1/lib/libluv.so (Required is at least version "1.43.0") 
-- Found Iconv: /nix/store/z8q7k6haddxk7zr97iz46w7f32irlavx-glibc-iconv-2.37/include  
-- Found Lpeg: /nix/store/67w034j9lhjkjm4l1q22clk771f5f4fj-luajit-2.1.0-2022-10-04-env/lib/lua/5.1/lpeg.so  
-- Found Libtermkey: /nix/store/y63hcx60bnrw3sapxrxqb0dcbppsb1cg-libtermkey-0.22/lib/libtermkey.so (Required is at least version "0.22") 
-- Found Libvterm: /nix/store/q569n2xpajz5xyfw2pzbqkd18vsqkw9x-libvterm-neovim-0.3.1/include (found suitable version "0.3", minimum required is "0.3") 
-- Found Msgpack: /nix/store/s2fw8qn2ffgnjcs2mnl0g5046grs0v5m-msgpack-3.3.0/lib/libmsgpackc.so (found suitable version "3.3.0", minimum required is "1.0.0") 
-- Found Treesitter: /nix/store/jxqf1m2fz6vix9278dj98f99wppmn7q4-tree-sitter-0.20.8/lib/libtree-sitter.so (Required is at least version "0.20.8") 
-- Found Unibilium: /nix/store/qgjgh09b9hswbsm47w2744r0l2i0vaw2-unibilium-2.1.1/include (Required is at least version "2.0") 
-- Performing Test HAVE_WORKING_LIBINTL
-- Performing Test HAVE_WORKING_LIBINTL - Success
-- Looking for _nl_msg_cat_cntr
-- Looking for _nl_msg_cat_cntr - found
-- Found Libintl:   
-- Found Luajit: /nix/store/67w034j9lhjkjm4l1q22clk771f5f4fj-luajit-2.1.0-2022-10-04-env/lib/libluajit-5.1.so  
-- Performing Test HAVE_WIMPLICIT_FALLTHROUGH_FLAG
-- Performing Test HAVE_WIMPLICIT_FALLTHROUGH_FLAG - Success
-- Performing Test HAS_DIAG_COLOR_FLAG
-- Performing Test HAS_DIAG_COLOR_FLAG - Success
-- Performing Test HAS_FSTACK_PROTECTOR_STRONG_FLAG
-- Performing Test HAS_FSTACK_PROTECTOR_STRONG_FLAG - Success
-- Found Gettext: /nix/store/yljjrj9k1d7xf8b56z0naq9rfd0gmfc0-gettext-0.21/bin/msgmerge (found version "0.21") 
-- Performing Test HAVE_EXECINFO_BACKTRACE
-- Performing Test HAVE_EXECINFO_BACKTRACE - Success
-- Performing Test HAVE_BUILTIN_ADD_OVERFLOW
-- Performing Test HAVE_BUILTIN_ADD_OVERFLOW - Success
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of int
-- Check size of int - done
-- Check size of long
-- Check size of long - done
-- Check size of intmax_t
-- Check size of intmax_t - done
-- Check size of size_t
-- Check size of size_t - done
-- Check size of void *
-- Check size of void * - done
-- Looking for _NSGetEnviron
-- Looking for _NSGetEnviron - not found
-- Looking for include file langinfo.h
-- Looking for include file langinfo.h - found
-- Looking for include file strings.h
-- Looking for include file strings.h - found
-- Looking for include file sys/utsname.h
-- Looking for include file sys/utsname.h - found
-- Looking for include file termios.h
-- Looking for include file termios.h - found
-- Looking for include file sys/uio.h
-- Looking for include file sys/uio.h - found
-- Looking for include file sys/sdt.h
-- Looking for include file sys/sdt.h - not found
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for readv
-- Looking for readv - found
-- Looking for readlink
-- Looking for readlink - found
-- Looking for strnlen
-- Looking for strnlen - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for strptime
-- Looking for strptime - found
-- Performing Test HAVE_DIRFD_AND_FLOCK
-- Performing Test HAVE_DIRFD_AND_FLOCK - Success
-- Performing Test HAVE_PWD_FUNCS
-- Performing Test HAVE_PWD_FUNCS - Success
-- Looking for FD_CLOEXEC
-- Looking for FD_CLOEXEC - found
-- Looking for CODESET
-- Looking for CODESET - found
-- Looking for include file endian.h
-- Looking for include file endian.h - found
-- Performing Test HAVE_BE64TOH_MACROS
-- Performing Test HAVE_BE64TOH_MACROS - Success
-- Configuring done
-- Generating done
�[33mCMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TESTING
    CMAKE_CXX_COMPILER
    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_POLICY_DEFAULT_CMP0025
    USE_BUNDLED

�[0m
-- Build files have been written to: /build/hwhrmr6j1x36nlfa07l75r2fydkar603-source/build
cmake: enabled parallel building
cmake: enabled parallel installing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j4 SHELL=/nix/store/rnkas52f8868g1hjdlldbvh6snm3pglv-bash-5.2-p15/bin/bash
[  0%] Built target nvim_runtime_deps
[  0%] �[32mBuilding C object src/nvim/CMakeFiles/nlua0.dir/__/mpack/lmpack.c.o�[0m
[  0%] �[32mBuilding C object src/nvim/CMakeFiles/nlua0.dir/__/mpack/conv.c.o�[0m
-- Using NVIM_VERSION: v0.10.0-dev
[  3%] �[32mBuilding C object src/nvim/CMakeFiles/nlua0.dir/__/mpack/mpack_core.c.o�[0m
[  3%] Built target update_version_stamp
[  3%] �[32mBuilding C object src/nvim/CMakeFiles/nlua0.dir/__/mpack/object.c.o�[0m
[  3%] �[32mBuilding C object src/nvim/CMakeFiles/nlua0.dir/__/mpack/rpc.c.o�[0m
[  3%] �[32mBuilding C object src/nvim/CMakeFiles/nlua0.dir/__/nlua0.c.o�[0m
[  3%] �[32m�[1mLinking C shared module ../../lib/libnlua0.so�[0m
/nix/store/5i11h3ji1cki45v3ndn1z6b3scma2jlm-binutils-2.40/bin/ld: cannot find -llpeg: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [src/nvim/CMakeFiles/nlua0.dir/build.make:178: lib/libnlua0.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:562: src/nvim/CMakeFiles/nlua0.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

Darwin build error for neovim-nightly package

Hi, I setup the overlay at my nix-darwin home profile and trying build it at my MacBook, but I got error:

a 'x86_64-linux' with features {} is required to build '/nix/store/mdldv8gwvcd5fkchncp90hmz3p9rcd99-builder.pl.drv', but I am a 'x86_64-darwin' with features {benchmark, big-parallel, nixos-test, recursive-nix}

Have any workaround or solution for this?

'pkgs.neovim-nightly ' not found

I suspect this is because I'm a NixOS noob, but here we go.

I added the code provided to my configuration.nix.

I then ran sudo nixos-rebuild switch. When I then run the suggested nix-env -iA pkgs.neovim-nightly, I get the following error:

[demo@nixos:~]$ nix-env -iA pkgs.neovim-nightly
error: attribute 'pkgs' in selection path 'pkgs.neovim-nightly' not found

Any ideas?

Infinite recursion encoutered

I've setup an overlay file .config/nixpkgs/overlays/neovim.nix with the import of this repository

import
  (builtins.fetchTarball {
    url = https://github.com/nix-community/neovim-nightly-overlay/archive/8398f213ace782545fd28989a332ae18a7cd29e3.tar.gz;
  })

It produces an infinite recursion error when I try to install

~ nix-shell -p neovim-nightly --show-trace
error: while evaluating the attribute 'buildInputs' of the derivation 'shell' at /nix/store/5sb83ahsb0grxh2617glqwbmzz7gzc8g-nixos-21.05pre289229.65a9923bbb9/nixos/pkgs/stdenv/generic/make-derivation.nix:201:11:
while evaluating 'getOutput' at /nix/store/5sb83ahsb0grxh2617glqwbmzz7gzc8g-nixos-21.05pre289229.65a9923bbb9/nixos/lib/attrsets.nix:486:23, called from undefined position:
while evaluating anonymous function at /nix/store/5sb83ahsb0grxh2617glqwbmzz7gzc8g-nixos-21.05pre289229.65a9923bbb9/nixos/pkgs/stdenv/generic/make-derivation.nix:152:17, called from undefined position:
while evaluating the attribute 'packages.x86_64-linux.neovim' at /nix/store/w3bmqdrirbs6fqiszf6d6krbnmgiy92j-source/contrib/flake.nix:98:18:
while evaluating the attribute 'neovim-unwrapped.overrideAttrs' at /nix/store/25s9w7cfvbakb224cl2vkac9n7l162gg-source/flake.nix:15:9:
while evaluating the attribute 'packages.x86_64-linux.neovim' at /nix/store/w3bmqdrirbs6fqiszf6d6krbnmgiy92j-source/contrib/flake.nix:98:18:
infinite recursion encountered, at /nix/store/w3bmqdrirbs6fqiszf6d6krbnmgiy92j-source/contrib/flake.nix:98:18

Some context:

  • This setup used to work before commit 8398f21

  • I am using nixos following nixos-unstable channel.

add checks to the flake

would be nice to be able to run oldtests/functionaltests via the check flake, also add a target to generate the doc

Build in flake on non-nixos

I am using this overlay in a flake that generates a neovim configuration (here), and this works fine on NixOS. I have a second computer running Arch and I tried to install this flake using home manager (complete files at the end of the issue), and it failed.

I tried to run it using nix run github:traxys/nvim-flake# but I got the same error:

-- Check for working C compiler: /nix/store/ygabp1386cf33djg5nwzliybvmfcd30b-gcc-wrapper-10.3.0/bin/gcc - broken
CMake Error at /nix/store/pki50w5yhmdpgmn52iipv38yh4ydqhm7-cmake-3.22.1/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
  The C compiler

    "/nix/store/ygabp1386cf33djg5nwzliybvmfcd30b-gcc-wrapper-10.3.0/bin/gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /build/mkjqf19mi7vs94cbfyhxy10cil62ivvf-source/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/nix/store/x0mjfrxqxil8kkgzf29y2wj2wa6mcn87-gnumake-4.3/bin/make -f Makefile cmTC_7efec/fast && /nix/store/x0mjfrxqxil8kkgzf29y2wj2wa6mcn87-gnumake-4.3/bin/make  -f CMakeFiles/cmTC_7efec.dir/build.make CMakeFiles/cmTC_7efec.dir/build
    make: /bin/sh: No such file or directory
    make: *** [Makefile:127: cmTC_7efec/fast] Error 127

What would cause /bin/sh to not be present ?

~/.config/nixpkgs/flake.nix:

{
  description = "Local Home Manager configurations";

  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
    homeManagerConfig = {
      url = "path:/home/traxys/home-cfg";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = { self, homeManagerConfig, ... }: {
    inherit (homeManagerConfig) homeConfigurations;
  };
}

/home/traxys/home-cfg/flake.nix:

{
  description = "Home Manager configurations";

  inputs = {
    nixpkgs.url = "flake:nixpkgs";
    homeManager = {
      url = "github:nix-community/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
    };
	nvim-traxys = {
	  url = "github:traxys/nvim-flake";
	  inputs.nixpkgs.follows = "nixpkgs";
	};
  };

  outputs = { self, nixpkgs, homeManager, nvim-traxys }: {
    homeConfigurations = {
      "traxys@ZeComputa" = homeManager.lib.homeManagerConfiguration {
        configuration = {pkgs, ...}: rec {
          programs.home-manager.enable = true;
          home.packages = [ pkgs.hello pkgs.neovimTraxys ];
        };

		pkgs = import nixpkgs rec {
			system = "x86_64-linux";
			overlays = [nvim-traxys.overlay."${system}"];
		};
        system = "x86_64-linux";
        homeDirectory = "/home/traxys";
        username = "traxys";
        stateVersion = "21.05";
      };
    };
  };
}

Compilation broken ( cannot find libstdc++ ) on aarch64-darwin

The most recent commit 1e96ff0 does not build on aarch64-darwin.

Log: https://gist.github.com/Sciencentistguy/fe7e4f8825f27ec0fd0322df00fb2d78

 - system: `"aarch64-darwin"`
 - host os: `Darwin 21.2.0, macOS 12.1`
 - multi-user?: `yes`
 - sandbox: `no`
 - version: `nix-env (Nix) 2.5.1`
 - channels(jamie): `"darwin, home-manager"`
 - channels(root): `"darwin, home-manager, nixpkgs-22.05pre346058.bc59ba15b64"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`
 - ```

Overlay is downloaded when it does not need to be

I have this installed as a flake, and I noticed that when building my system configuration with with nix build .#<path>.activationPackage, that nix always downloads the newest archive of the overlay, even if it is not due for an update.

I would it expect it to only download and build after running nix flake update and nix build .#<path>.activationPackage, but it is downloading (although not building) when running nix build .#<path>.activationPackage alone.

This is a weird question but I really cannot figure out if this is normal behavior or not. Thanks for any input you have.

error while installing package

~/.config/nixpkgs/overlays 35s
❯ cat neovim-nightly.nix (1) 11:50:12
import (builtins.fetchTarball {
url = https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz;
})

❯ nix-env -iA nixpkgs.neovim-nightly 11:49:34
unpacking 'https://github.com/nix-community/neovim-nightly-overlay/archive/master.tar.gz'...
unpacking 'https://github.com/edolstra/flake-compat/archive/b7547d3eed6f32d06102ead8991ec52ab0a4f1a7.tar.gz'...
unpacking 'https://api.github.com/repos/neovim/neovim/tarball/c977d8b43cd6ecf7ad756f9b064eadea79fbd604'...
unpacking 'https://api.github.com/repos/numtide/flake-utils/tarball/997f7efcb746a9c140ce1f13c72263189225f482'...
unpacking 'https://api.github.com/repos/nixos/nixpkgs/tarball/6d8215281b2f87a5af9ed7425a26ac575da0438f'...
error: infinite recursion encountered, at /nix/store/2v9vf4arnvcd01cp7p4y4vw12qpy7w1a-source/contrib/flake.nix:75:18
(use '--show-trace' to show detailed location information)

Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory

Error detected while processing FileType Autocommands for "*":
E5108: Error executing lua Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file:
No such file or directory

Not sure if this is the right place to post this problem, but I'm getting that error when I open a file type supported by tree-sitter and whenever I type almost anything in the editor.

Here's some output from :checkhealth too:

health#treesitter#check
========================================================================
## Checking treesitter configuration
  - INFO: Runtime ABI version : 13
  - ERROR: Impossible to load parser for bash: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for beancount: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for bibtex: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for c: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for c_sharp: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for clojure: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for comment: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for commonlisp: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for cpp: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for css: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for cuda: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for dart: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for devicetree: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for dockerfile: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for elixir: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for erlang: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for fennel: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for fish: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for gdscript: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for glimmer: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for go: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for gomod: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for graphql: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for html: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for java: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for javascript: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for jsdoc: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for json: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for jsonc: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for julia: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for kotlin: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for latex: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for ledger: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for lua: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for nix: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for ocaml: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for ocaml_interface: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for ocamllex: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for php: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for python: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for ql: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for query: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for r: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for regex: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for rst: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for ruby: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for rust: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for scss: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for sparql: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for supercollider: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for svelte: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for teal: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for toml: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for tsx: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for turtle: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for typescript: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for verilog: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for vue: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for yaml: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for zig: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for bash: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for beancount: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for bibtex: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for c: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for c_sharp: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for clojure: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for comment: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for commonlisp: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for cpp: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for css: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for cuda: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for dart: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for devicetree: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for dockerfile: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for elixir: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for erlang: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for fennel: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for fish: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for gdscript: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for glimmer: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for go: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for gomod: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for graphql: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for html: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for java: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for javascript: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for jsdoc: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for json: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for jsonc: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for julia: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for kotlin: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for latex: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for ledger: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for lua: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for nix: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for ocaml: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for ocaml_interface: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for ocamllex: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for php: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for python: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for ql: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for query: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for r: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for regex: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for rst: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for ruby: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for rust: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for scss: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for sparql: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for supercollider: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for svelte: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for teal: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for toml: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for tsx: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for turtle: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for typescript: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for verilog: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for vue: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for yaml: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory
  - ERROR: Impossible to load parser for zig: Failed to load parser: uv_dlopen: libstdc++.so.6: cannot open shared object file: No such file or directory

I'm very new to Nix, so please redirect me elsewhere if this is the wrong place to bring this up :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.