Merge pull request #38384 from mbode/tectonic_darwin

tectonic: fix darwin build
wip/yesman
Daiderd Jordan 6 years ago committed by GitHub
commit cc1d4addc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      pkgs/tools/typesetting/tectonic/default.nix

@ -1,5 +1,5 @@
{ stdenv, fetchFromGitHub, rustPlatform, makeWrapper
, fontconfig, harfbuzz-icu, openssl, pkgconfig }:
, darwin, fontconfig, harfbuzz-icu, openssl, pkgconfig }:
rustPlatform.buildRustPackage rec {
name = "tectonic-${version}";
@ -16,7 +16,8 @@ rustPlatform.buildRustPackage rec {
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
doCheck = false;

Loading…
Cancel
Save