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 | |
parent | f3f79bd6c6027277b123921edd4064a396358cd3 (diff) | |
download | nixpkgs-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
-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 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 = '' |