mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
831148bf27
follow-up to feabc3db0f
13 lines
390 B
Nix
13 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"
|
|
''
|