Commit 8dfa4f62 authored by Doron Behar's avatar Doron Behar
Browse files

tectonic-unwrapped: fix a substantial upstream bug

parent 664ea371
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -10,6 +10,7 @@
  lib,
  stdenv,
  fetchFromGitHub,
  fetchpatch2,
  rustPlatform,

  # nativeBuildInputs
@@ -36,6 +37,15 @@ rustPlatform.buildRustPackage (finalAttrs: {
    sha256 = "sha256-drQ8hCe5vJHewUTFJTfVOotFvuUX19dHQLu2nVIWKbQ=";
  };

  patches = [
    # Fixes a substantial MacOS arm64 bug, see:
    # https://github.com/tectonic-typesetting/tectonic/pull/1346
    (fetchpatch2 {
      url = "https://github.com/tectonic-typesetting/tectonic/commit/5d95f47720e6518daa7164b097f207b772d565ac.patch";
      hash = "sha256-GQPRwP9vljDIzs1uEBlnCdAGcvG/mLpw0WtM5wqobWg=";
    })
  ];

  cargoHash = "sha256-Hh2w8c/K+AXdX4p620fqVUttQPY33eVIAf0/VIFhHiY=";

  nativeBuildInputs = [