Matching Light to HDR

Perhaps I misunderstood your original question. Are you wanting a dynamic HDRI that changes when you move your sun object around?

See this thread about LightFormers