Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dependencies in basic project #98

Open
pshemass opened this issue Jun 24, 2023 · 0 comments
Open

Missing dependencies in basic project #98

pshemass opened this issue Jun 24, 2023 · 0 comments

Comments

@pshemass
Copy link

Hi,

I'm trying to setup basic project and I'm getting error about missing dependencies.

ERROR: /private/var/tmp/_bazel_rzbikson/5a3cfd97c2cb862d764484e76c0d333d/external/build_stack_scala_gazelle/language/scala/BUILD.bazel:8:11: no such package '@com_github_pcj_mobyprogress

Here is my setup please let me know what I'm missing:

http_archive(
    name = "io_bazel_rules_go",
    sha256 = "6dc2da7ab4cf5d7bfc7c949776b1b7c733f05e56edc4bcd9022bb249d2e2a996",
    urls = [
        "https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.39.1/rules_go-v0.39.1.zip",
        "https://github.com/bazelbuild/rules_go/releases/download/v0.39.1/rules_go-v0.39.1.zip",
    ],
)

http_archive(
    name = "build_stack_scala_gazelle",
    sha256 = "70978168dd276443956c6db9d82d16e2ebb6ff97407aa0a4d63d3ff994c27ae5",
    strip_prefix = "scala-gazelle-b1bb82207122bd8b2c8fe422494afda681b2b70c",
    urls = ["https://github.com/stackb/scala-gazelle/archive/b1bb82207122bd8b2c8fe422494afda681b2b70c.tar.gz"],
)

http_archive(
    name = "bazel_gazelle",
    patch_args = ["-p1"],
    patches = ["@build_stack_scala_gazelle//third_party/bazelbuild/bazel-gazelle:pr-1394.patch"],
    sha256 = "5ebc984c7be67a317175a9527ea1fb027c67f0b57bb0c990bac348186195f1ba",
    strip_prefix = "bazel-gazelle-2d1002926dd160e4c787c1b7ecc60fb7d39b97dc",
    urls = ["https://github.com/bazelbuild/bazel-gazelle/archive/2d1002926dd160e4c787c1b7ecc60fb7d39b97dc.tar.gz"],
)

load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")

############################################################
# Define your own dependencies here using go_repository.
# Else, dependencies declared by rules_go/gazelle will be used.
# The first declaration of an external repository "wins".
############################################################

go_rules_dependencies()

go_register_toolchains(version = "1.20.4")

gazelle_dependencies()

http_archive(
    name = "build_stack_rules_proto",
    sha256 = "ac7e2966a78660e83e1ba84a06db6eda9a7659a841b6a7fd93028cd8757afbfb",
    strip_prefix = "rules_proto-2.0.1",
    urls = ["https://github.com/stackb/rules_proto/archive/v2.0.1.tar.gz"],
)

register_toolchains("@build_stack_rules_proto//toolchain:prebuilt")

load("@build_stack_rules_proto//:go_deps.bzl", "gazelle_protobuf_extension_go_deps")

gazelle_protobuf_extension_go_deps()

load("@build_stack_scala_gazelle//:workspace_deps.bzl", "language_scala_deps")

language_scala_deps()

load("@build_stack_scala_gazelle//:go_repos.bzl", build_stack_scala_gazelle_gazelle_extension_deps = "gazelle_extension_deps", build_stack_scala_gazelle_gazelle_go_repositories = "go_repositories")

#build_stack_scala_gazelle_gazelle_go_repositories()

build_stack_scala_gazelle_gazelle_extension_deps()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant