forked from mirrors/nixpkgs
makePkgconfigItem: fix cross
This commit is contained in:
parent
57eac89459
commit
38602ad5c3
|
@ -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"'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue