bazelbuild / bazelbuild/rules_pkg

Instructions for installation don't seem to work

Open
#1,041 1 comment 0 reactions 0 assignees View on GitHub
documentation
Dominant language
Starlark
Stars
253
Forks
221
Avg merge
10h 33m
Merged PRs (30d)
1

Description

The instructions in https://github.com/bazelbuild/rules_pkg/tree/main?tab=readme-ov-file#modulebazel-setup say that to use this you include `bazel_dep(name = "rules_pkg", version = "0.0.10")` in the `MODULE.bazel` file.

That did not work for me and I got the error:

> ERROR: Error computing the main repository mapping: in module dependency chain -> rules_pkg@0.0.10: module rules_pkg@0.0.10 not found in registries:

Looking at the registry: https://registry.bazel.build/modules/rules_pkg

It seems that the current version is `1.2.0` and there never was a version `0.0.10` (but was a `0.10.0`).

Using `bazel_dep(name = "rules_pkg", version = "1.2.0")` worked for me.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.