summary refs log tree commit diff
path: root/pkgs/os-specific/linux/busybox/sandbox-shell.nix
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 /pkgs/os-specific/linux/busybox/sandbox-shell.nix
parentf3f79bd6c6027277b123921edd4064a396358cd3 (diff)
downloadnixpkgs-a933aa9a8df44fa141eb24a802e38d7be3473918.tar
nixpkgs-a933aa9a8df44fa141eb24a802e38d7be3473918.tar.gz
nixpkgs-a933aa9a8df44fa141eb24a802e38d7be3473918.tar.bz2
nixpkgs-a933aa9a8df44fa141eb24a802e38d7be3473918.tar.lz
nixpkgs-a933aa9a8df44fa141eb24a802e38d7be3473918.tar.xz
nixpkgs-a933aa9a8df44fa141eb24a802e38d7be3473918.tar.zst
nixpkgs-a933aa9a8df44fa141eb24a802e38d7be3473918.zip
busybox-sandbox-shell: Fix build on RISC-V
Diffstat (limited to 'pkgs/os-specific/linux/busybox/sandbox-shell.nix')
-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 1755bd4f3f7..b94fae7f787 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 = ''