3
0
Fork 0
forked from mirrors/nixpkgs

makePkgconfigItem: fix cross

This commit is contained in:
Artturin 2022-12-30 14:51:17 +02:00
parent 57eac89459
commit 38602ad5c3

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