You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
building the target (in the repro, //src:src) gives the following output:
no such package '@@[unk
nown repo 'cpp_jsonnet' requested from @@gazelle++go_deps+com_github_google_go_jsonnet]//stdlib': The repository '@@[unknown repo 'cpp_jsonnet' requested from @@gazelle++go_deps+com_
github_google_go_jsonnet]' could not be resolved: No repository visible as '@cpp_jsonnet' from repository '@@gazelle++go_deps+com_github_google_go_jsonnet' and referenced by '@@gazel
le++go_deps+com_github_google_go_jsonnet//astgen:dumpstdlibast'
is there any way to supply the dependency with @cpp_jsonnet? I've tried to add a module that looks like that to the MODULE.bazel (the error changed but did not go away completely), but it smells like an antipattern. Hopefully there's an easier way to get jsonnet with gazelle.
The text was updated successfully, but these errors were encountered:
x-post from stackoverflow
I've put together an MVP for a build failure relating to gazelle and
com_github_google_go_jsonnet
: https://github.com/antholeole/bug-repro/tree/bazelin short, I have a
BUILD.bazel
that looks like this:building the target (in the repro,
//src:src
) gives the following output:is there any way to supply the dependency with
@cpp_jsonnet
? I've tried to add a module that looks like that to theMODULE.bazel
(the error changed but did not go away completely), but it smells like an antipattern. Hopefully there's an easier way to get jsonnet with gazelle.The text was updated successfully, but these errors were encountered: