git.iko.soy/typeable/nixpkgs
on master help sign in
all-packages.nix: add bootstrapTools to top-level.nix

This allows us to summon ofborg like this: @ofborg build pkgsCross.aarch64-multiplatform.stdenvBootstrapTools.build

commite663518d18e7dedce127edc26888fd997e6c1e73 authorAdam Joseph <adam@westernsemico.com> dateThu 14 Apr 2022, 10:16 (5 years ago) parentfcf2d84
1 file changed+8
pkgs/top-level/all-packages.nix+8
pkgs/top-level/all-packages.nix+8
@@ -1584,6 +1584,14 @@ with pkgs;
15841584
15851585 brewtarget = libsForQt514.callPackage ../applications/misc/brewtarget { } ;
15861586
1587+ stdenvBootstrapTools =
1588+ let args = { crossSystem = stdenv.hostPlatform.system; }; in
1589+ if stdenv.hostPlatform.isDarwin
1590+ then callPackage ../stdenv/darwin/make-bootstrap-tools.nix args
1591+ else if stdenv.hostPlatform.isLinux
1592+ then callPackage ../stdenv/linux/make-bootstrap-tools.nix args
1593+ else throw "stdenvBootstrapTools: unknown hostPlatform ${stdenv.hostPlatform.config}";
1594+
15871595 boxes = callPackage ../tools/text/boxes { };
15881596
15891597 boundary = callPackage ../tools/networking/boundary { };