From c5a0a5ac5e205458224755ae194f768f2a8e6d8f Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Wed, 15 Feb 2023 13:51:06 +0100 Subject: curl: add pkg-config metadata for libcurl.pc I did not add the validatePkgConfig setup hook to curl, as I suspect it may cause trouble when bootstrapping. --- doc/languages-frameworks/pkg-config.section.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/languages-frameworks/pkg-config.section.md b/doc/languages-frameworks/pkg-config.section.md index eecc84b4c1aae..fb6fee997d6f2 100644 --- a/doc/languages-frameworks/pkg-config.section.md +++ b/doc/languages-frameworks/pkg-config.section.md @@ -6,7 +6,7 @@ Nixpkgs provides a couple of facilities for working with this tool. ## Writing packages providing pkg-config modules -Packages should set `meta.pkgConfigProvides` with the list of package config modules they provide. +Packages should set `meta.pkgConfigModules` with the list of package config modules they provide. They should also use `testers.testMetaPkgConfig` to check that the final built package matches that list. Additionally, the [`validatePkgConfig` setup hook](https://nixos.org/manual/nixpkgs/stable/#validatepkgconfig), will do extra checks on to-be-installed pkg-config modules. -- cgit 1.4.1