query
On this page

testMetaPkgConfig

pkgs.testers.testMetaPkgConfig

Functor
Docs pulled from | This Revision | 31 minutes ago


Contribute
Enhance the ecosystem with your expertise! Contribute to fill the gaps in documentation. Your input can make a difference.

Noogle detected

This is a Functor

Learn about functors

Implementation

The following is the current implementation of this function.

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"
  ''