Properly separate the build and install phases for better nix shell hacking when using `buildPhase` -- and also fix a bug where `$NIX_BUILD_CORES` wasn't properly passed to `bmake`. Signed-off-by: Austin Seipp <aseipp@pobox.com>