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

Using bazelisp requires copying of BUILD.sbcl and BUILD.local_sbcl to project root #60

Open
egao1980 opened this issue Jul 15, 2022 · 1 comment

Comments

@egao1980
Copy link

When used as a local repository at least. Example WORKSPACE:

local_repository(
    name = "bazelisp",
    path = "/home/egao1980/projects/bazelisp"
)

load("@bazelisp//:repositories.bzl", "bazelisp_repositories")
bazelisp_repositories()
load("@bazelisp//:setup.bzl", "bazelisp_setup")
bazelisp_setup()

I think that's mostly a documentation issue though it would be nice to avoid copying those files.

@egao1980
Copy link
Author

Error message:

ERROR: /home/egao1980/projects/hello-bazelisp/BUILD:22:12: //:hello depends on @local_sbcl//:c-support in repository @local_sbcl which failed to fetch. no such package '@local_sbcl//': /home/egao1980/projects/hello-bazelisp/BUILD.local_sbcl is not a regular file
ERROR: Analysis of target '//:hello' failed; build aborted: Analysis failed

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