Skip to content

Commit

Permalink
Merge pull request #38384 from mbode/tectonic_darwin
Browse files Browse the repository at this point in the history
tectonic: fix darwin build
  • Loading branch information
LnL7 authored Apr 3, 2018
2 parents d305c24 + 8f2102d commit cc1d4ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/tools/typesetting/tectonic/default.nix
Original file line number Diff line number Diff line change
@@ -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}";
Expand All @@ -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;
Expand Down

0 comments on commit cc1d4ad

Please sign in to comment.