Skip to content

why I can't use select option under http_archive() #20699

Answered by fmeum
the-code-samurai-97 asked this question in Q&A
Discussion options

You must be logged in to vote

http_archive is a repository rule, which means that it can't use select. Instead, just add one http_archive per OS/architecture and then use select in build rules (such as an alias) to select a target from the correct repository.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lberki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants