about summary refs log tree commit diff
path: root/pkgs/applications/editors/neovim
diff options
context:
space:
mode:
authorMatthieu Coudron <mcoudron@hotmail.com>2022-03-29 03:52:02 +0200
committerMatthieu Coudron <mcoudron@hotmail.com>2022-03-29 04:31:47 +0200
commitd3dcc106c82e43268e5e8f6db652e910c46d07ca (patch)
treefc2f774cb7b3d6de1a3bdcabf2ad5a6571e3b320 /pkgs/applications/editors/neovim
parent0986a70be6219a1986f3665ec1a3afd870ab8e14 (diff)
downloadnixlib-d3dcc106c82e43268e5e8f6db652e910c46d07ca.tar
nixlib-d3dcc106c82e43268e5e8f6db652e910c46d07ca.tar.gz
nixlib-d3dcc106c82e43268e5e8f6db652e910c46d07ca.tar.bz2
nixlib-d3dcc106c82e43268e5e8f6db652e910c46d07ca.tar.lz
nixlib-d3dcc106c82e43268e5e8f6db652e910c46d07ca.tar.xz
nixlib-d3dcc106c82e43268e5e8f6db652e910c46d07ca.tar.zst
nixlib-d3dcc106c82e43268e5e8f6db652e910c46d07ca.zip
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
Diffstat (limited to 'pkgs/applications/editors/neovim')
-rw-r--r--pkgs/applications/editors/neovim/default.nix6
1 files changed, 0 insertions, 6 deletions
diff --git a/pkgs/applications/editors/neovim/default.nix b/pkgs/applications/editors/neovim/default.nix
index 03cc0b35b8d3..86d70acfff3c 100644
--- a/pkgs/applications/editors/neovim/default.nix
+++ b/pkgs/applications/editors/neovim/default.nix
@@ -113,12 +113,6 @@ in
       substituteInPlace src/nvim/CMakeLists.txt --replace "    util" ""
     '';
 
-    # For treesitter plugins, libstdc++.so.6, or equivalent will be needed
-    NIX_LDFLAGS =
-      lib.optionals stdenv.cc.isGNU [ "-lstdc++"]
-      ++ lib.optionals stdenv.cc.isClang [ "-lc++" ];
-
-    # export PATH=$PWD/build/bin:${PATH}
     shellHook=''
       export VIMRUNTIME=$PWD/runtime
     '';