Merge pull request #208358 from Artturin/makepkgconfigitemfixcross

This commit is contained in:
Artturi 2022-12-30 15:19:01 +02:00 committed by GitHub
commit 4c5307057a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -65,5 +65,5 @@ writeTextFile {
name = "${name}.pc";
destination = "/lib/pkgconfig/${name}.pc";
text = builtins.concatStringsSep "\n" content;
checkPhase = ''${buildPackages.pkg-config}/bin/pkg-config --validate "$target"'';
checkPhase = ''${buildPackages.pkg-config}/bin/${buildPackages.pkg-config.targetPrefix}pkg-config --validate "$target"'';
}