Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
12 lines
390 B
Nix
12 lines
390 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 = testers.hasPkgConfigModules { inherit package; };
|
|
} ''
|
|
echo "found all of ${toString package.meta.pkgConfigModules}" > "$out"
|
|
''
|