Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
validatePkgConfig: init #87866
Motivation for this change
This adds the
The hook could be extended in the future with more fine-grained
I have also added a commit which enables this hook for the MKL derivation as an example.
This is the first time I touched the hooks at all, so I hope I didn't do anything bad ;).
This adds the `validatePkgConfig` hook, which can be used to validate pkg-config files in the output(s). Currently, this will just run `pkg-config --validate` on all `.pc` files, capturing errors such as the issue that was fixed in #87789. The hook could be extended in the future with more fine-grained checks.