busybox: flip around logic how musl is determined

This commit is contained in:
Domen Kožar
2019-09-29 16:56:16 +02:00
parent 406335aeb1
commit 39769df9df
2 changed files with 6 additions and 3 deletions
@@ -2,8 +2,6 @@
# Minimal shell for use as basic /bin/sh in sandbox builds
busybox.override {
# musl roadmap has RISC-V support projected for 1.1.20
useMusl = !stdenv.hostPlatform.isRiscV && stdenv.hostPlatform.libc != "bionic";
enableStatic = true;
enableMinimal = true;
extraConfig = ''
+6 -1
View File
@@ -15473,7 +15473,12 @@ in
bridge-utils = callPackage ../os-specific/linux/bridge-utils { };
busybox = callPackage ../os-specific/linux/busybox { };
busybox-sandbox-shell = callPackage ../os-specific/linux/busybox/sandbox-shell.nix { };
busybox-sandbox-shell = callPackage ../os-specific/linux/busybox/sandbox-shell.nix {
# musl roadmap has RISC-V support projected for 1.1.20
busybox = if !stdenv.hostPlatform.isRiscV && stdenv.hostPlatform.libc != "bionic"
then pkgsStatic.busybox
else busybox;
};
cachefilesd = callPackage ../os-specific/linux/cachefilesd { };