sketch a generic solution to the 'share an arbitrary file via a repository dependency' problem