From abe84c21a9a45845f68eb02dcc5937ca34224dec Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Wed, 19 Jan 2022 11:05:12 -0700 Subject: [PATCH] neovim: add ldflag for treesitter plugins requiring libstdc++ --- pkgs/applications/editors/neovim/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix index 412a6f724956..7cec1025611f 100644 --- a/pkgs/applications/editors/neovim/default.nix +++ b/pkgs/applications/editors/neovim/default.nix @@ -113,6 +113,9 @@ in substituteInPlace src/nvim/CMakeLists.txt --replace " util" "" ''; + # For treesitter plugins, libstdc++.so.6 will be needed + NIX_LDFLAGS = [ "-lstdc++"]; + # export PATH=$PWD/build/bin:${PATH} shellHook='' export VIMRUNTIME=$PWD/runtime