Cut wire too short when installing light fixture - now what?
Judging by the photo, you can probably remove the chain link from the fixture and replace it with a smaller one (to add maybe 1cm (1/2") to the length), you'll then want to wirenut on an additional length of wire that you would attach in the box.

Alternatively, you may still be able to return the light to the store if they're nice enough.