all-packages.nix: add bootstrapTools to top-level.nix

This allows us to summon ofborg like this:

  @ofborg build pkgsCross.aarch64-multiplatform.stdenvBootstrapTools.build
This commit is contained in:
Adam Joseph 2022-04-14 10:16:36 -07:00
parent fcf2d84e9c
commit e663518d18

View File

@ -1584,6 +1584,14 @@ with pkgs;
brewtarget = libsForQt514.callPackage ../applications/misc/brewtarget { } ;
stdenvBootstrapTools =
let args = { crossSystem = stdenv.hostPlatform.system; }; in
if stdenv.hostPlatform.isDarwin
then callPackage ../stdenv/darwin/make-bootstrap-tools.nix args
else if stdenv.hostPlatform.isLinux
then callPackage ../stdenv/linux/make-bootstrap-tools.nix args
else throw "stdenvBootstrapTools: unknown hostPlatform ${stdenv.hostPlatform.config}";
boxes = callPackage ../tools/text/boxes { };
boundary = callPackage ../tools/networking/boundary { };