Open BalestraPatrick opened 2 years ago
I presume you are not running this from a release?
The work around is to run:
bazelisk build //:rules_kotlin_release
mkdir /tmp/rules_kotlin_release && tar -xvf bazel-bin/rules_kotlin_release.gz -C /tmp/rules_kotlin_release
And add local_repository(name="rules_kotlin", path="/tmp/rules_kotlin_release")
to the consuming workspace.
Workspace file, please?
Hi!
It seems like
archive_repository_implementation
is invokingbazel
directly: https://github.com/bazelbuild/rules_kotlin/blob/26c811765f8ed42d4538a1963dffb9dc2d12f3b8/src/main/starlark/release_archive/repository.bzl#L80This causes issues when running on a machine with only
bazelisk
on the PATH becausebazel
doesn't exist. Would it be possible to improve this in some way?