tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
busybox-sandbox-shell: Fix build on RISC-V
Shea Levy
8 years ago
a933aa9a
f3f79bd6
+3
-2
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
busybox
sandbox-shell.nix
+3
-2
pkgs/os-specific/linux/busybox/sandbox-shell.nix
···
1
-
{ busybox }:
2
3
# Minimal shell for use as basic /bin/sh in sandbox builds
4
busybox.override {
5
-
useMusl = true;
0
6
enableStatic = true;
7
enableMinimal = true;
8
extraConfig = ''
···
1
+
{ busybox, hostPlatform }:
2
3
# Minimal shell for use as basic /bin/sh in sandbox builds
4
busybox.override {
5
+
# musl roadmap has RISC-V support projected for 1.1.20
6
+
useMusl = !hostPlatform.isRiscV;
7
enableStatic = true;
8
enableMinimal = true;
9
extraConfig = ''