I have found the culprit. When I was fiddling with LSPs and neovim, I put clang
under home.packages
, which also put ld
(and many other compiler-related applications not supposed to be there) under PATH. Moving them into programs.neovim.extraPackages
prevents such pollution.
2 Likes