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.

+8 -1
+8 -1
pkgs/top-level/all-packages.nix
··· 22201 22201 ncurses = 22202 22202 if stdenv.hostPlatform.useiOSPrebuilt 22203 22203 then null 22204 - else callPackage ../development/libraries/ncurses { }; 22204 + else callPackage ../development/libraries/ncurses { 22205 + # ncurses is included in the SDK. Avoid an infinite recursion by using a bootstrap stdenv. 22206 + stdenv = 22207 + if stdenv.isDarwin then 22208 + darwin.bootstrapStdenv 22209 + else 22210 + stdenv; 22211 + }; 22205 22212 22206 22213 ndi = callPackage ../development/libraries/ndi { }; 22207 22214