Hadrian should not mix stage1 and stage0 package db.
This can lead to GHC picking up incompatible modules as in #17982 (closed).
Instead hadrian should disable the global package db when running the stage1 compiler and give all required db's explicitly.