From 4c692f994cf982d437db77a6665357fc1d18f42a Mon Sep 17 00:00:00 2001 From: Ed Baunton Date: Fri, 13 Dec 2019 09:16:42 -0800 Subject: [PATCH] README: Add missing http_archive import Currently if you copy and paste the documented workspace methods you get a failure that `http_archive` is not specified: it needs to be imported. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index ae63f0f81d..e83fdd0ad2 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,7 @@ If you are not using the Federation, you can simply import rules_python directly and call its initialization methods as follows: ```python +load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( name = "rules_python", url = "https://github.com/bazelbuild/rules_python/releases/download/0.0.1/rules_python-0.0.1.tar.gz",