Make a shell for c++ lsp?

I currently have this shell.nix setup:
`` { pkgs ? import { } }:
pkgs.mkShell {
name = “cpp_project”;
buildInputs = with pkgs; [
gcc
cmake
ninja
swig
pcre
bison
flex
openssl
libcxx # Add libcxx for C++ standard libraries
rocmPackages.llvm.clang-tools-extra
];

nativeBuildInputs = [ pkgs.pkg-config ];

shellHook = ‘’
export PKG_CONFIG_PATH=“$PKG_CONFIG_PATH:$HOME/project/libmanolo/”
export CPLUS_INCLUDE_PATH=“$CPLUS_INCLUDE_PATH:/nix/store/wh3jv0niw62xfngky1lhi4sfnjrgyqg6-libcxx-16.0.6-dev/include”
‘’;
NIX_PATH = “$HOME/.local/bin”;
} with it I am able to build project both with g++ and clang . However nvim is unable to find standard libraries likeiostream``. The LSP itself is working fine just don’t have access to standard libs.
Would be greatfull for any help provided.