fixed here: insync: fix warning due to missing LD_LIBRARY_PATH by marius851000 · Pull Request #92463 · NixOS/nixpkgs · GitHub
now we just need to wait for it to be merged in master, and for unstable to be syncronized in master (if you use unstable). Otherwise, you may ask a backport to a stable version, or install it by downloading https://github.com/marius851000/nixpkgs/archive/insync.zip , extract it, go the nixpkgs folder, and run nix-build . -A insync
and then nix-env -i ./result
(or any other method you use to install software with nix)