Open jtojnar opened 2 years ago
The llvm code build system is quite convoluted. Otherwise we could have just disabled scan-build from libclang
build.
Possibly will be fixed by https://github.com/NixOS/nixpkgs/pull/144302
Still happening on aarch64-darwin
.
Still happening on Darwin x86_64. Fix please! :)
And on NixOS x86_64 too :(
Describe the bug
scan-build
program fromlibclang
looks forccc-analyzer
in../libexec
but it is installed into a different output.Steps To Reproduce
Expected behaviour
scan-build
should findccc-analyzer
.Additional context
It works with
scan-build
fromclang-analyzer
:This is bug is especially annoying because when it is first on
PATH
, it shadows the working program.Possible solutions
scan-build
fromlibclang
so it has a canonical home inclang-analyzer
.lib
output.ccc-analyzer
toout
output.Notify maintainers
cc @lovek323 @7c6f434c @dtzWill @primeos (libclang) cc @thoughtpolice @Mic92 (clang-analyzer)
Metadata
Nixpkgs a2e281f5770247855b85d70c43454ba5bff34613
Maintainer information: