diff options
author | Cody Hiar <cody@hiar.ca> | 2022-01-19 11:05:12 -0700 |
---|---|---|
committer | Jonathan Ringer <jonringer@users.noreply.github.com> | 2022-01-24 15:33:23 -0800 |
commit | abe84c21a9a45845f68eb02dcc5937ca34224dec (patch) | |
tree | 44b1137fadad992520e3952a8829e7b5c873d049 /pkgs/applications/editors/neovim | |
parent | 7976f70bae1f688a2d1a9e1863710c63bbc16b5f (diff) | |
download | nixlib-abe84c21a9a45845f68eb02dcc5937ca34224dec.tar nixlib-abe84c21a9a45845f68eb02dcc5937ca34224dec.tar.gz nixlib-abe84c21a9a45845f68eb02dcc5937ca34224dec.tar.bz2 nixlib-abe84c21a9a45845f68eb02dcc5937ca34224dec.tar.lz nixlib-abe84c21a9a45845f68eb02dcc5937ca34224dec.tar.xz nixlib-abe84c21a9a45845f68eb02dcc5937ca34224dec.tar.zst nixlib-abe84c21a9a45845f68eb02dcc5937ca34224dec.zip |
neovim: add ldflag for treesitter plugins requiring libstdc++
Diffstat (limited to 'pkgs/applications/editors/neovim')
-rw-r--r-- | pkgs/applications/editors/neovim/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
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 |