Skip to content

Commit

Permalink
Merge pull request #269786 from ink-splatters/update-tectonic
Browse files Browse the repository at this point in the history
tectonic: fixes #269167: tectonic build failure
  • Loading branch information
pbsds authored Nov 27, 2023
2 parents d723ecd + 2049b08 commit 2816853
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/tools/typesetting/tectonic/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ rustPlatform.buildRustPackage rec {
buildInputs = [ icu fontconfig harfbuzz openssl ]
++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices Cocoa Foundation ]);

# workaround for https://github.com/NixOS/nixpkgs/issues/166205
NIX_LDFLAGS = lib.optionalString (stdenv.cc.isClang && stdenv.cc.libcxx != null) " -l${stdenv.cc.libcxx.cxxabi.libName}";

postInstall = lib.optionalString stdenv.isLinux ''
substituteInPlace dist/appimage/tectonic.desktop \
--replace Exec=tectonic Exec=$out/bin/tectonic
Expand Down

0 comments on commit 2816853

Please sign in to comment.