Skip to content

Commit e663518

Browse files
author
Adam Joseph
committed
all-packages.nix: add bootstrapTools to top-level.nix
This allows us to summon ofborg like this: @ofborg build pkgsCross.aarch64-multiplatform.stdenvBootstrapTools.build
1 parent fcf2d84 commit e663518

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pkgs/top-level/all-packages.nix

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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 { };

0 commit comments

Comments
 (0)