4bac34ead1
GitOrigin-RevId: 724bfc0892363087709bd3a5a1666296759154b1
14 lines
456 B
Nix
14 lines
456 B
Nix
{ lib, runCommand, testers }:
|
|
|
|
package:
|
|
|
|
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;
|
|
} ''
|
|
echo "found all of ${toString package.meta.pkgConfigModules}" > "$out"
|
|
''
|