mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-15 06:31:39 +03:00
tectonic: build with nixpkgs harfbuzz
Build with the harfbuzz shared library from nixpkgs. This is well supported by upstream through a cargo feature flag. Previously the build uses a vendored harfbuzz housed in a git submodule. This can be inconvenient when developing the package. This commit eliminate the need to fetch git submodules.
This commit is contained in:
parent
fe96ffa827
commit
c98ef4642c
1 changed files with 2 additions and 1 deletions
|
@ -26,7 +26,6 @@ rustPlatform.buildRustPackage rec {
|
||||||
owner = "tectonic-typesetting";
|
owner = "tectonic-typesetting";
|
||||||
repo = "tectonic";
|
repo = "tectonic";
|
||||||
rev = "tectonic@${version}";
|
rev = "tectonic@${version}";
|
||||||
fetchSubmodules = true;
|
|
||||||
sha256 = "sha256-xZHYiaQ8ASUwu0ieHIXcjRaH06SQoB6OR1y7Ok+FjAs=";
|
sha256 = "sha256-xZHYiaQ8ASUwu0ieHIXcjRaH06SQoB6OR1y7Ok+FjAs=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -34,6 +33,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
nativeBuildInputs = [ pkg-config ];
|
||||||
|
|
||||||
|
buildFeatures = [ "external-harfbuzz" ];
|
||||||
|
|
||||||
buildInputs = [ icu fontconfig harfbuzz openssl ]
|
buildInputs = [ icu fontconfig harfbuzz openssl ]
|
||||||
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices Cocoa Foundation ]);
|
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices Cocoa Foundation ]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue