neovim: revert the linker changes that cause issues on nix
some linker flags have been added to support declarative treesitter grammars but the justification is fuzzy and it breaks several stuff on nix see https://github.com/NixOS/nixpkgs/pull/147658
commitd3dcc106c82e43268e5e8f6db652e910c46d07ca
authorMatthieu Coudron <mcoudron@hotmail.com>
dateTue 29 Mar 2022, 03:52 (5 years ago)
parent0986a70
pkgs/applications/editors/neovim/default.nix−6
@@ -113,12 +113,6 @@ in
113113 substituteInPlace src/nvim/CMakeLists.txt --replace " util" ""
114114 '';
115115
116− # For treesitter plugins, libstdc++.so.6, or equivalent will be needed
117− NIX_LDFLAGS =
118− lib.optionals stdenv.cc.isGNU [ "-lstdc++"]
119− ++ lib.optionals stdenv.cc.isClang [ "-lc++" ];
120−
121− # export PATH=$PWD/build/bin:${PATH}
122116 shellHook=''
123117 export VIMRUNTIME=$PWD/runtime
124118 '';