I would like to specify credentials for a single URL in http_archive, using a netrc file contained in my workspace. I have tried the following without success:
- I have tried to specify the "userinfo" part of my URL like
http://<user>:<password>@host/pathjust to get an authentication error. - I have tinkered with the
netrcattribute ofhttp_archive, but I can only see, how to use absolute pathnames there; I would prefer to include the netrc in my workspace.
Do I have to write my own repository rule or is there another way?