core/pkgs/by-name/bu/busybox/packages.nix

19 lines
420 B
Nix
Raw Normal View History

2024-05-02 00:46:19 +00:00
{ ... }:
res: pkgs: super:
2024-06-30 08:16:52 +00:00
with pkgs; {
2024-05-02 00:46:19 +00:00
busybox = callPackage ./. { };
busybox-sandbox-shell = callPackage ./sandbox-shell.nix {
# musl roadmap has RISC-V support projected for 1.1.20
busybox =
2024-06-30 08:16:52 +00:00
if
!stdenv.hostPlatform.isRiscV
&& !stdenv.hostPlatform.isLoongArch64
&& stdenv.hostPlatform.libc != "bionic"
then
pkgsStatic.busybox
else
busybox;
2024-05-02 00:46:19 +00:00
};
}