testers.testMetaPkgConfig: fix warning

follow-up to feabc3db0fa3c875a45116734aa4ae4751c6ef76
This commit is contained in:
ajs124 2023-09-19 16:11:42 +02:00
parent e8e461df5d
commit 831148bf27

View File

@ -6,9 +6,7 @@ runCommand "check-meta-pkg-config-modules-for-${package.name}" {
meta = {
description = "Test whether ${package.name} exposes all pkg-config modules ${toString package.meta.pkgConfigModules}";
};
dependsOn = map
(moduleName: testers.hasPkgConfigModule { inherit package moduleName; })
package.meta.pkgConfigModules;
dependsOn = testers.hasPkgConfigModules { inherit package; };
} ''
echo "found all of ${toString package.meta.pkgConfigModules}" > "$out"
''