tag:blogger.com,1999:blog-7275984396161354282.post107273668717684..comments2022-09-13T03:58:38.210-07:00Comments on mobileink: Bazel: genrule patching an external repoGregg Reynoldshttp://www.blogger.com/profile/03085543737107615014noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-7275984396161354282.post-55361125055039052752020-06-02T21:31:04.465-07:002020-06-02T21:31:04.465-07:00`new_http_archive` also supports a `patches` argum...`new_http_archive` also supports a `patches` argument, which you can pass a patch file into as a target and it'll apply the patch before making it available in the main repo.<br /><br />https://github.com/bazelbuild/bazel/blob/7052f3cf513ace536f5fd6601613dc7612b7b3c0/tools/build_defs/repo/http.bzl#L270<br /><br />Thanks for your writeup!Anonymousnoreply@blogger.com