Skip to content

Instructions for installation don't seem to work #1041

@endobson

Description

@endobson

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions