pkgsStatic is apparently considered a cross environment, so checkPhase and installCheckPhase are disabled even when we ask for them.
Because of 9b41239d8f, a formatter can no longer be a package *or* an app. So let's require it to be a package for now.
9b41239d8f