Skip to content

Commit

Permalink
update apple installer path in apple_rules_impl.bzl
Browse files Browse the repository at this point in the history
Summary:
Try to fix last WA repo sync failure D63028940

```
Caused by:
    0: From load at buck2/prelude/prelude.bzl:8
    1: From load at buck2/prelude/native.bzl:31
    2: From load at buck2/prelude/rules.bzl:15
    3: From load at buck2/prelude/rules_impl.bzl:10
    4: Error evaluating module: `prelude//apple/apple_rules_impl.bzl`
    5: Traceback (most recent call last):
         * buck2/prelude/apple/apple_rules_impl.bzl:185, in <module>
             "installer": attrs.default_only(attrs.label(default = "buck//src/com/facebook...
       error: Error coercing attribute default
          --> buck2/prelude/apple/apple_rules_impl.bzl:185:41
           |
       185 |         "installer": attrs.default_only(attrs.label(default = "buck//src/com/facebook/buck/installer/apple:apple_installer")),
           |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           |
```

Use same path in D62302956 instead of a buck cell
so this still works in WA repo.

Reviewed By: hick209

Differential Revision: D63044954

fbshipit-source-id: c18c922d5a1005054c3c353ecb799634fabdcf95
  • Loading branch information
SiaoJie Cai authored and facebook-github-bot committed Sep 20, 2024
1 parent 519efc9 commit c2c1407
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prelude/apple/apple_rules_impl.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ extra_attributes = {
"dwarfdump": attrs.option(attrs.exec_dep(providers = [RunInfo]), default = None),
"extra_linker_outputs": attrs.set(attrs.string(), default = []),
"ibtool": attrs.exec_dep(providers = [RunInfo]),
"installer": attrs.default_only(attrs.label(default = "buck//src/com/facebook/buck/installer/apple:apple_installer")),
"installer": attrs.default_only(attrs.label(default = "fbsource//xplat/toolchains/android/sdk/src/com/facebook/buck/installer/apple:apple_installer")),
"libtool": attrs.exec_dep(providers = [RunInfo]),
"lipo": attrs.exec_dep(providers = [RunInfo]),
"mapc": attrs.option(attrs.exec_dep(providers = [RunInfo]), default = None),
Expand Down

0 comments on commit c2c1407

Please sign in to comment.