Description of the problem / feature request:
It seems that repository_ctx.download(url) doesn't handle netrc auth (while http_archive/http_file can use it, also wget can fetch same url).
Rule in question is jvm_maven_import_external https://github.com/bazelbuild/bazel/blob/master/tools/build_defs/repo/jvm.bzl#L109
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Don't have repro yet, will try to add later
What operating system are you running Bazel on?
NixOS
What's the output of bazel info release?
release 4.1.0- (@Non-Git)
If bazel info release returns "development version" or "(@Non-Git)", tell us how you built Bazel.
nixpkgs
Description of the problem / feature request:
It seems that
repository_ctx.download(url)doesn't handle netrc auth (whilehttp_archive/http_filecan use it, also wget can fetch same url).Rule in question is
jvm_maven_import_externalhttps://github.com/bazelbuild/bazel/blob/master/tools/build_defs/repo/jvm.bzl#L109Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
Don't have repro yet, will try to add later
What operating system are you running Bazel on?
NixOS
What's the output of
bazel info release?release 4.1.0- (@Non-Git)
If
bazel info releasereturns "development version" or "(@Non-Git)", tell us how you built Bazel.nixpkgs