Refer to files in root but outside of installed world in dune

We wanted to use dune for a couple of non-OCaml targets in our projects. We’re already using dune elsewhere so I thought to myself “why introduce another build system, it’s just two targets” :smiley: .

Turns out I was a bit naive. I don’t want to copy files to the installed world (it’s a large directory and it will be slow), I just want to access some files from it. So if my project looks like this:

| project
| large_dir
| large_file

Can I refer to the large_file from a dune rule without copying it to _build/default? I tried playing with the sandbox stanza and deps in various configurations but I was unable to achieve this.