diff options
author | Shea Levy <shea@shealevy.com> | 2018-02-18 01:48:07 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-02-18 09:02:10 -0500 |
commit | a933aa9a8df44fa141eb24a802e38d7be3473918 (patch) | |
tree | fbdaced412452a093a71253d2f195e3b74cbea07 /pkgs/os-specific | |
parent | f3f79bd6c6027277b123921edd4064a396358cd3 (diff) |
busybox-sandbox-shell: Fix build on RISC-V
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/busybox/sandbox-shell.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/os-specific/linux/busybox/sandbox-shell.nix b/pkgs/os-specific/linux/busybox/sandbox-shell.nix index 1755bd4f3f74..b94fae7f787b 100644 --- a/pkgs/os-specific/linux/busybox/sandbox-shell.nix +++ b/pkgs/os-specific/linux/busybox/sandbox-shell.nix @@ -1,8 +1,9 @@ -{ busybox }: +{ busybox, hostPlatform }: # Minimal shell for use as basic /bin/sh in sandbox builds busybox.override { - useMusl = true; + # musl roadmap has RISC-V support projected for 1.1.20 + useMusl = !hostPlatform.isRiscV; enableStatic = true; enableMinimal = true; extraConfig = '' |