This test demonstrates a package where the .install file being created by the file copying step rather than the build step. $ . ./helpers.sh $ mkdir -p dune.lock/foo.files $ cat >dune.lock/lock.dune < (lang package 0.1) > EOF $ touch dune.lock/foo.files/foo.install $ echo "(version 0.0.1)" > dune.lock/foo.pkg The foo.install file in files/ should have been copied over. $ build_pkg foo 2>&1 | sed 's/copyfile/open/'