diff MODULE.bazel @ 247:70f2a3dafc1c

[build] Bundle offline Tectonic runtime Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Mon, 03 Aug 2026 20:20:06 -0700
parents 543df0fe7168
children c5129452493e
line wrap: on
line diff
--- a/MODULE.bazel	Mon Aug 03 18:30:45 2026 -0700
+++ b/MODULE.bazel	Mon Aug 03 20:20:06 2026 -0700
@@ -18,6 +18,18 @@
 http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
 
 http_archive(
+  name = "tectonic_linux_x86_64",
+  urls = ["https://github.com/tectonic-typesetting/tectonic/releases/download/tectonic%400.17.0/tectonic-0.17.0-x86_64-unknown-linux-musl.tar.gz"],
+  sha256 = "8533d07f9ccbd7a65824b9e0459041bca34af1eb33daba48f59215593753a3b7",
+  build_file_content = """
+exports_files(
+    ["tectonic"],
+    visibility = ["//visibility:public"],
+)
+""",
+)
+
+http_archive(
   name = "playwright_chromium_linux",
   urls = ["https://playwright.azureedge.net/builds/chromium/1140/chromium-linux.zip"],
   sha256 = "e78cda52fa7e847abcd36a48ffabda43e71e2220a3e9a398f7c9a179529570a5",