From 13083b1a012990dbb8f87bbc92c9c2be962b4878 Mon Sep 17 00:00:00 2001 From: Daniƫl de Kok Date: Fri, 15 May 2020 08:32:24 +0200 Subject: validatePkgConfig: init 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. --- doc/stdenv/stdenv.xml | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc/stdenv') diff --git a/doc/stdenv/stdenv.xml b/doc/stdenv/stdenv.xml index 65a343d7edd..64fc91fabca 100644 --- a/doc/stdenv/stdenv.xml +++ b/doc/stdenv/stdenv.xml @@ -2083,6 +2083,16 @@ postInstall = '' + + + validatePkgConfig + + + + The validatePkgConfig hook validates all pkg-config (.pc) files in a package. This helps catching some common errors in pkg-config files, such as undefined variables. + + + cmake -- cgit 1.4.1