diff options
author | Daniël de Kok <me@danieldk.eu> | 2020-05-15 08:32:24 +0200 |
---|---|---|
committer | Daniël de Kok <me@danieldk.eu> | 2020-05-31 20:45:03 +0200 |
commit | 13083b1a012990dbb8f87bbc92c9c2be962b4878 (patch) | |
tree | 098d71e67ae76a74c1452f7cc6026560ae9cb63b /doc | |
parent | f6bfb371cba2b5a02f200c2747c1fe2c72bd782f (diff) |
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.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/stdenv/stdenv.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/stdenv/stdenv.xml b/doc/stdenv/stdenv.xml index 65a343d7edd8..64fc91fabca2 100644 --- a/doc/stdenv/stdenv.xml +++ b/doc/stdenv/stdenv.xml @@ -2085,6 +2085,16 @@ postInstall = '' </varlistentry> <varlistentry> <term> + validatePkgConfig + </term> + <listitem> + <para> + The <literal>validatePkgConfig</literal> hook validates all pkg-config (<filename>.pc</filename>) files in a package. This helps catching some common errors in pkg-config files, such as undefined variables. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term> cmake </term> <listitem> |