tectonic: fix darwin build
This commit is contained in:
parent
57ce94c971
commit
8f2102def6
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper
|
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper
|
||||||
, fontconfig, harfbuzz-icu, openssl, pkgconfig }:
|
, darwin, fontconfig, harfbuzz-icu, openssl, pkgconfig }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
name = "tectonic-${version}";
|
name = "tectonic-${version}";
|
||||||
@ -16,7 +16,8 @@ rustPlatform.buildRustPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
buildInputs = [ fontconfig harfbuzz-icu openssl ];
|
buildInputs = [ fontconfig harfbuzz-icu openssl ]
|
||||||
|
++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices Cocoa Foundation ]);
|
||||||
|
|
||||||
# tests fail due to read-only nix store
|
# tests fail due to read-only nix store
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user