summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-02-18 01:48:07 -0500
committerShea Levy <shea@shealevy.com>2018-02-18 09:02:10 -0500
commita933aa9a8df44fa141eb24a802e38d7be3473918 (patch)
treefbdaced412452a093a71253d2f195e3b74cbea07
parentf3f79bd6c6027277b123921edd4064a396358cd3 (diff)
busybox-sandbox-shell: Fix build on RISC-V
-rw-r--r--pkgs/os-specific/linux/busybox/sandbox-shell.nix5
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 = ''