Copy the source before invoking cabal.