I haven't used uv much yet but is seems that --extra-index-url is handled a little bit differently from the way pip does the search. It's defenitely more secure but as per uvdocs this means that libraries might not be found for some private indices. Also --extra-index-url is deprecated from uv CLI.
What I found though is that --find-links option does work.
So assuming your requirements.txt looks like this: