diff gui_ze/gui_ze.bzl @ 24:7d3fa1a7a854

[GuiZe] Support x86 chip for bun.
author June Park <parkjune1995@gmail.com>
date Tue, 07 Oct 2025 09:13:29 -0700
parents 2b9e75756825
children 342726584be2
line wrap: on
line diff
--- a/gui_ze/gui_ze.bzl	Tue Oct 07 08:55:40 2025 -0700
+++ b/gui_ze/gui_ze.bzl	Tue Oct 07 09:13:29 2025 -0700
@@ -79,7 +79,7 @@
       """.format(
         outdir = out.dirname,
         src = ctx.files.srcs[0].path,
-        inner = "bun-darwin-aarch64/bun",
+        inner = ctx.attr.src_folder,
         out = out.path,
       ),
     )
@@ -92,6 +92,7 @@
     implementation = _bun_binary_impl,
     attrs = {
         "srcs": attr.label_list(allow_files=True),
+        "src_folder": attr.string(),
     },
     executable = True,
 )