Additional files overlaid on top of the source can be found in the %pkg.files/ directory: $ . ./helpers.sh $ mkdir test-source $ touch test-source/foo $ make_lockdir $ cat >dune.lock/test.pkg < (version 0.0.1) > (source > (copy $PWD/test-source)) > (build > (system "echo foo:; cat foo; echo bar:; cat bar")) > EOF $ mkdir dune.lock/test.files $ cat >dune.lock/test.files/foo < foo from test.files > EOF $ cat >dune.lock/test.files/bar < bar from test.files > EOF $ build_pkg test foo: foo from test.files bar: bar from test.files