diff --git a/pkgs/build-support/testers/hasPkgConfigModules/tester.nix b/pkgs/build-support/testers/hasPkgConfigModules/tester.nix index 3d4ded812f75e..5b3e6a397f828 100644 --- a/pkgs/build-support/testers/hasPkgConfigModules/tester.nix +++ b/pkgs/build-support/testers/hasPkgConfigModules/tester.nix @@ -4,7 +4,7 @@ # Tester arguments { package, moduleNames ? package.meta.pkgConfigModules, - testName ? "check-pkg-config-${lib.concatStringsSep "-" moduleNames}", + testName ? "check-pkg-config-${package.pname or package.name}", version ? package.version or null, versionCheck ? false, }: