ncurses: build with the bootstrap stdenv on Darwin
Using the bootstrap stdenv avoids an infinite recursion from xcbuild depending on ncurses depending on xcrun from xcbuild, which is propagated by the non-bootstrap stdenv.
···2220122201 ncurses =
2220222202 if stdenv.hostPlatform.useiOSPrebuilt
2220322203 then null
2220422204- else callPackage ../development/libraries/ncurses { };
2220422204+ else callPackage ../development/libraries/ncurses {
2220522205+ # ncurses is included in the SDK. Avoid an infinite recursion by using a bootstrap stdenv.
2220622206+ stdenv =
2220722207+ if stdenv.isDarwin then
2220822208+ darwin.bootstrapStdenv
2220922209+ else
2221022210+ stdenv;
2221122211+ };
22205222122220622213 ndi = callPackage ../development/libraries/ndi { };
2220722214