you can always overwrite the patchPhase: patchPhase = '' unset patchPhase # reset this env var patchPhase # run patchPhase function (default implementation) patch -p1 < your.diff ''; your solution is cleaner though. Marc Weber