Merge pull request #38384 from mbode/tectonic_darwin

tectonic: fix darwin build

authored by Daiderd Jordan and committed by GitHub cc1d4add d305c24b

+3 -2
+3 -2
pkgs/tools/typesetting/tectonic/default.nix
··· 1 { stdenv, fetchFromGitHub, rustPlatform, makeWrapper 2 - , fontconfig, harfbuzz-icu, openssl, pkgconfig }: 3 4 rustPlatform.buildRustPackage rec { 5 name = "tectonic-${version}"; ··· 16 17 nativeBuildInputs = [ pkgconfig ]; 18 19 - buildInputs = [ fontconfig harfbuzz-icu openssl ]; 20 21 # tests fail due to read-only nix store 22 doCheck = false;
··· 1 { stdenv, fetchFromGitHub, rustPlatform, makeWrapper 2 + , darwin, fontconfig, harfbuzz-icu, openssl, pkgconfig }: 3 4 rustPlatform.buildRustPackage rec { 5 name = "tectonic-${version}"; ··· 16 17 nativeBuildInputs = [ pkgconfig ]; 18 19 + buildInputs = [ fontconfig harfbuzz-icu openssl ] 20 + ++ stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices Cocoa Foundation ]); 21 22 # tests fail due to read-only nix store 23 doCheck = false;