2 ms·
If you only want the sh, you can get it even smaller. This doesn't UPX the busybox bin, though: $ ls -shL `nix-build -E '(import <nixpkgs> {}).pkgsCross.musl64
by endgame 6y ago
If you only want the sh, you can get it even smaller. This doesn't UPX the busybox bin, though:
$ ls -shL `nix-build -E '(import <nixpkgs> {}).pkgsCross.musl64.busybox.override { enableStatic = true; enableMinimal = true; }'`/bin/sh
128K /nix/store/qkq9cj81mcvnfr5y04jmf6nqvnrfg2z1-busybox-1.31.1-x86_64-unknown-linux-musl/bin/sh