When we get rid of the make build system, we would be missing things. Incuding these packages' deps ensure we don't miss things.
We have per-stdenv package sets, so we should be using them.
It had gotten rather big. Hopefully we'll eventually have some generic infra for a "multi-package dev shell" and not need so much code for this, but until then it's better in a separate file.