diff options
-rw-r--r-- | pkgs/tools/typesetting/tectonic/default.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pkgs/tools/typesetting/tectonic/default.nix b/pkgs/tools/typesetting/tectonic/default.nix index c3818fe71f8bd..c2bace4660922 100644 --- a/pkgs/tools/typesetting/tectonic/default.nix +++ b/pkgs/tools/typesetting/tectonic/default.nix @@ -8,7 +8,6 @@ , openssl , pkg-config , makeBinaryWrapper -, biber , icu }: @@ -31,12 +30,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ icu fontconfig harfbuzz openssl ] ++ lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices Cocoa Foundation ]); - # Tectonic runs biber when it detects it needs to run it, see: - # https://github.com/tectonic-typesetting/tectonic/releases/tag/tectonic%400.7.0 - postInstall = '' - wrapProgram $out/bin/tectonic \ - --prefix PATH : "${lib.getBin biber}/bin" - '' + lib.optionalString stdenv.isLinux '' + postInstall = lib.optionalString stdenv.isLinux '' substituteInPlace dist/appimage/tectonic.desktop \ --replace Exec=tectonic Exec=$out/bin/tectonic install -D dist/appimage/tectonic.desktop -t $out/share/applications/ |