1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

freetype: fix cross-build

This commit is contained in:
Jörg Thalheim 2018-11-26 07:11:23 +00:00
parent 4b6bdc29b0
commit f17ff7d6ef
No known key found for this signature in database
GPG key ID: CA4106B8D7CC79FA

View file

@ -62,6 +62,9 @@ in stdenv.mkDerivation rec {
doCheck = true;
postInstall = glib.flattenInclude + ''
substituteInPlace $dev/bin/freetype-config \
--replace ${buildPackages.pkgconfig} ${pkgconfig}
wrapProgram "$dev/bin/freetype-config" \
--set PKG_CONFIG_PATH "$PKG_CONFIG_PATH:$dev/lib/pkgconfig"
'';