freshBootstrapTools: enable musl on RISC-V

musl now supports RISC-V.  Let's centralise musl availability checks
in musl.meta.platforms, so we don't have to keep cleaning up ad-hoc
checks like this all over the tree.
This commit is contained in:
Alyssa Ross 2023-04-28 10:38:43 +00:00
parent 2af4b551c1
commit 5130c4f4ef

View File

@ -20,7 +20,7 @@ in with pkgs; rec {
tarMinimal = gnutar.override { acl = null; };
busyboxMinimal = busybox.override {
useMusl = !stdenv.targetPlatform.isRiscV;
useMusl = lib.meta.availableOn stdenv.hostPlatform musl;
enableStatic = true;
enableMinimal = true;
extraConfig = ''