Merge pull request #291770 from bryango/tectonic-external-harfbuzz

tectonic: build with nixpkgs harfbuzz
This commit is contained in:
Doron Behar 2024-02-27 18:02:50 +02:00 committed by GitHub
commit f8a93f0462
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -26,7 +26,6 @@ rustPlatform.buildRustPackage rec {
owner = "tectonic-typesetting";
repo = "tectonic";
rev = "tectonic@${version}";
fetchSubmodules = true;
sha256 = "sha256-xZHYiaQ8ASUwu0ieHIXcjRaH06SQoB6OR1y7Ok+FjAs=";
};
@ -34,6 +33,8 @@ rustPlatform.buildRustPackage rec {
nativeBuildInputs = [ pkg-config ];
buildFeatures = [ "external-harfbuzz" ];
buildInputs = [ icu fontconfig harfbuzz openssl ]
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices Cocoa Foundation ]);