Skip to content

Commit

Permalink
all-packages.nix: add bootstrapTools to top-level.nix
Browse files Browse the repository at this point in the history
This allows us to summon ofborg like this:

  @ofborg build pkgsCross.aarch64-multiplatform.stdenvBootstrapTools.build
  • Loading branch information
Adam Joseph committed Apr 26, 2022
1 parent fcf2d84 commit e663518
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pkgs/top-level/all-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 { };
Expand Down

0 comments on commit e663518

Please sign in to comment.