From 5130c4f4ef66b1cf34d63220bdd1cc8f20de6515 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Fri, 28 Apr 2023 10:38:43 +0000 Subject: 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. --- pkgs/stdenv/linux/make-bootstrap-tools.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/stdenv/linux') diff --git a/pkgs/stdenv/linux/make-bootstrap-tools.nix b/pkgs/stdenv/linux/make-bootstrap-tools.nix index d6815093d45..4ea4267e559 100644 --- a/pkgs/stdenv/linux/make-bootstrap-tools.nix +++ b/pkgs/stdenv/linux/make-bootstrap-tools.nix @@ -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 = '' -- cgit 1.4.1